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