1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

Merge pull request #35435 from Mic92/go-build

buildGoPackage: disable cache creation
This commit is contained in:
Jörg Thalheim 2018-02-24 08:15:11 +00:00 committed by GitHub
commit 221510cf0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -196,6 +196,9 @@ go.stdenv.mkDerivation (
find $bin/bin -type f -exec ${removeExpr removeReferences} '{}' + || true
'';
# Disable go cache, which is not reused in nix anyway
GOCACHE = "off";
shellHook = ''
d=$(mktemp -d "--suffix=-$name")
'' + toString (map (dep: ''