Nix-shell and $TMP / $TMPDIR

Hi.

It seems to me that since I switched from nix-shell (Lix, like Nix) 2.93.3 to nix-shell (Lix, like Nix) 2.93.4, which includes a fix for Security Advisory: Local privilege escalation in Lix and Nix, I have a behavior change running nix-shell in directories that contain a file shell.nix.
$TMP and $TMPDIR are set to /tmp/nix-shell-[…] but this directory is not created anymore.

With version <= 2.93.3, the directory was automatically created.

Indeed, it’s very likely a regression caused by some staged fixes in the 2.93 branch, is there any way you can upgrade to the 2.94 series?

1 Like

Thanks for your quick reply. I need to check with teammates.