mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-09 12:09:08 +00:00
Merge pull request #24 from doronbehar/go-stdenv
builder: Use stdenv from arguments, not go.stdenv
This commit is contained in:
commit
596d01fd55
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ let
|
|||
|
||||
removeReferences = [ ] ++ lib.optional (!allowGoReference) go;
|
||||
|
||||
package = go.stdenv.mkDerivation (attrs // {
|
||||
package = stdenv.mkDerivation (attrs // {
|
||||
nativeBuildInputs = [ removeReferencesTo go ] ++ nativeBuildInputs;
|
||||
|
||||
inherit (go) GOOS GOARCH;
|
||||
|
|
Loading…
Reference in a new issue