diff --git a/shell.nix b/shell.nix index a2c2275a..844c7360 100644 --- a/shell.nix +++ b/shell.nix @@ -19,6 +19,7 @@ pkgs.mkShell { ]; shellHook = '' export GOPATH=$(pwd)/nix/.go + export GOCACHE=$(pwd)/nix/.go/cache export TMPDIR=$(pwd)/nix/.tmp export PATH=$GOPATH/bin:$PATH mkdir -p "$TMPDIR"