Merge pull request #71049 from marsam/buildGoModule-disable-goproxy

buildGoModule: disable default go module proxy
This commit is contained in:
Mario Rodas 2019-10-19 20:38:55 -05:00 committed by GitHub
commit e18646b7e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,6 +73,8 @@ let
installPhase = args.modInstallPhase or ''
runHook preInstall
# remove cached lookup results and tiles
rm -rf "''${GOPATH}/pkg/mod/cache/download/sumdb"
cp -r "''${GOPATH}/pkg/mod/cache/download" $out
runHook postInstall