diff --git a/shell.nix b/shell.nix index 1aa5ae5..1ee0f3d 100644 --- a/shell.nix +++ b/shell.nix @@ -6,6 +6,11 @@ in pkgs.mkShell { # Enable experimental features without having to specify the argument NIX_CONFIG = "experimental-features = nix-command flakes"; + shellHook = '' + export TMP=$(mktemp -d "/tmp/nix-shell-XXXXXX") + export TEMP=$TMP + export TMPDIR=$TMP + ''; nativeBuildInputs = with pkgs; [ cachix