support impure env GOPROXY

which is by go mod download
This commit is contained in:
HuangYi 2022-05-30 11:13:30 +08:00
parent cabedd2add
commit 36bc9ef864
No known key found for this signature in database
GPG key ID: 58776091521E8B17

View file

@ -30,7 +30,7 @@ let
outputHashAlgo = null; outputHashAlgo = null;
outputHash = hash; outputHash = hash;
SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt"; SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
impureEnvVars = lib.fetchers.proxyImpureEnvVars; impureEnvVars = lib.fetchers.proxyImpureEnvVars ++ [ "GOPROXY" ];
}; };
buildGoApplication = buildGoApplication =