From 36bc9ef864f2f351da1921026fa7c353a698696b Mon Sep 17 00:00:00 2001 From: HuangYi Date: Mon, 30 May 2022 11:13:30 +0800 Subject: [PATCH] support impure env GOPROXY which is by go mod download --- builder/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/default.nix b/builder/default.nix index 526c9fb..77a419d 100644 --- a/builder/default.nix +++ b/builder/default.nix @@ -30,7 +30,7 @@ let outputHashAlgo = null; outputHash = hash; SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt"; - impureEnvVars = lib.fetchers.proxyImpureEnvVars; + impureEnvVars = lib.fetchers.proxyImpureEnvVars ++ [ "GOPROXY" ]; }; buildGoApplication =