git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #35435 from Mic92/go-build

buildGoPackage: disable cache creation

commit221510cf0f4555088fbe2b1f878b8d9a04c6a1ab authorJörg Thalheim <Mic92@users.noreply.github.com> dateSat 24 Feb 2018, 08:15 (9 years ago) parentcf10ed5aafd5a6
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: ''