Merge pull request #24 from doronbehar/go-stdenv

builder: Use stdenv from arguments, not go.stdenv
This commit is contained in:
adisbladis 2021-12-11 16:44:10 +12:00 committed by GitHub
commit 596d01fd55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;