Inconsistent behavior in tempdir manipulations between nix-shell and nix3-develop #978

Open
opened 2025-08-25 12:06:35 +00:00 by raito · 1 comment
Owner

FWIW I think the nix develop code is quite buggy in its own right, for a long time it triggered https://github.com/NixOS/nix/issues/10753 because it put you in a tempdir with different permissions. But it would be good if the two (nix-shell and nix3-develop) were consistent.

Originally posted by @teofilc in #940 (comment)

FWIW I think the `nix develop` code is quite buggy in its own right, for a long time it triggered https://github.com/NixOS/nix/issues/10753 because it put you in a tempdir with different permissions. But it would be good if the two (nix-shell and nix3-develop) were consistent. _Originally posted by @teofilc in https://git.lix.systems/lix-project/lix/issues/940#issuecomment-14461_

I have split out #979, which covers the potential bugs from messing around with tmpdir like this. And then this ticket can just be about making them consistent.

I have split out https://git.lix.systems/lix-project/lix/issues/979, which covers the potential bugs from messing around with tmpdir like this. And then this ticket can just be about making them consistent.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#978
No description provided.