mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-09 12:09:08 +00:00
builder: Use stdenv from arguments, not go.stdenv
It allows users to override the builder to use for example `pkgsStatic.stdenv`.
This commit is contained in:
parent
67f22dd738
commit
2428841585
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