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.