diff --git a/shell.nix b/shell.nix index 5c0a41de..1d09aaa2 100644 --- a/shell.nix +++ b/shell.nix @@ -3,6 +3,11 @@ 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; [ fluxcd