mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
Merge pull request #173092 from linsui/goproxy
buildGoModule: allow goproxy
This commit is contained in:
commit
09692a459c
@ -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 New Issue
Block a user