forked from mirrors/gomod2nix
Don't set CGO_ENABLED by default
Instead let the compiler decide. This will result in less cryptic errors.
This commit is contained in:
parent
ade4c20234
commit
aae59a6851
1 changed files with 0 additions and 2 deletions
|
@ -154,7 +154,6 @@ let
|
|||
{ modules
|
||||
, src
|
||||
, pwd ? null
|
||||
, CGO_ENABLED ? "0"
|
||||
, nativeBuildInputs ? [ ]
|
||||
, allowGoReference ? false
|
||||
, meta ? { }
|
||||
|
@ -195,7 +194,6 @@ let
|
|||
nativeBuildInputs = [ removeReferencesTo go ] ++ nativeBuildInputs;
|
||||
|
||||
inherit (go) GOOS GOARCH;
|
||||
inherit CGO_ENABLED;
|
||||
|
||||
GO_NO_VENDOR_CHECKS = "1";
|
||||
|
||||
|
|
Loading…
Reference in a new issue