Merge pull request #173092 from linsui/goproxy
buildGoModule: allow goproxy
This commit is contained in:
commit
09692a459c
1 changed files with 1 additions and 2 deletions
|
@ -79,12 +79,11 @@ let
|
|||
GO111MODULE = "on";
|
||||
|
||||
impureEnvVars = lib.fetchers.proxyImpureEnvVars ++ [
|
||||
"GIT_PROXY_COMMAND" "SOCKS_SERVER"
|
||||
"GIT_PROXY_COMMAND" "SOCKS_SERVER" "GOPROXY"
|
||||
];
|
||||
|
||||
configurePhase = args.modConfigurePhase or ''
|
||||
runHook preConfigure
|
||||
|
||||
export GOCACHE=$TMPDIR/go-cache
|
||||
export GOPATH="$TMPDIR/go"
|
||||
cd "${modRoot}"
|
||||
|
|
Loading…
Reference in a new issue