mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
buildGoPackage: disable go 1.10 cache
This disables annoying error messages that the go cache in /homeless-shelter cannot be created.
This commit is contained in:
parent
e9fdcc9662
commit
aafd5a63ea
1 changed files with 3 additions and 0 deletions
|
@ -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: ''
|
||||
|
|
Loading…
Reference in a new issue