Don't set CGO_ENABLED by default

Instead let the compiler decide.
This will result in less cryptic errors.
This commit is contained in:
adisbladis 2022-06-13 20:49:36 +08:00
parent ade4c20234
commit aae59a6851

View file

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