Revert "buildGoModule: set GOPROXY to go default"

This reverts commit 3392d56b72.

Fixed in cbc976a97c
This commit is contained in:
zowoq 2023-08-21 16:11:10 +10:00
parent 59ed084cc2
commit 9b562802e0

View file

@ -87,9 +87,6 @@ let
runHook preConfigure
export GOCACHE=$TMPDIR/go-cache
export GOPATH="$TMPDIR/go"
# fixes 'GOPROXY list is not the empty string, but contains no entries'
# "https://proxy.golang.org,direct" is the go default
export GOPROXY="''${GOPROXY:-"https://proxy.golang.org,direct"}" # respect impureEnvVars
cd "${modRoot}"
runHook postConfigure
'';