git.iko.soy/typeable/nixpkgs
on master help sign in
buildGoPackage: disable go 1.10 cache

This disables annoying error messages that the go cache in /homeless-shelter cannot be created.

commitaafd5a63eaa3c37294ecbb8ab184fc85be1b7709 authorJörg Thalheim <joerg@thalheim.io> dateSat 24 Feb 2018, 01:47 (9 years ago) parente9fdcc9
1 file changed+3
pkgs/development/go-modules/generic/default.nix+3
pkgs/development/go-modules/generic/default.nix+3
@@ -196,6 +196,9 @@ go.stdenv.mkDerivation (
196196 find $bin/bin -type f -exec ${removeExpr removeReferences} '{}' + || true
197197 '';
198198
199+ # Disable go cache, which is not reused in nix anyway
200+ GOCACHE = "off";
201+
199202 shellHook = ''
200203 d=$(mktemp -d "--suffix=-$name")
201204 '' + toString (map (dep: ''