mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-22 21:25:00 +00:00
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