You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nixos-enter is an important tool to repair / debug NixOS systems externally.
Alas, since Nix 2.11 (and probably before for other reasons on other things), it is not reliable and cannot be used without extensive Nix knowledge to workaround its quirks.
Steps To Reproduce
Steps to reproduce the behavior:
nixos-enter --root /mnt
Run any nix-related commands
Experiment an "in-chroot" but "unpivoted from /mnt" situation
Expected behavior
nix should work as expected at least, I am not talking about systemd-related stuff.
For context, while the bug in my opinion is not caused by nixos-enter, there is a way to modify nixos-enter that works around the issue. The patch for that can be found in NixOS/nix#7602 . I'm happy to make a PR with that patch if desired.
Describe the bug
nixos-enter
is an important tool to repair / debug NixOS systems externally.Alas, since Nix 2.11 (and probably before for other reasons on other things), it is not reliable and cannot be used without extensive Nix knowledge to workaround its quirks.
Steps To Reproduce
Steps to reproduce the behavior:
nixos-enter --root /mnt
nix
-related commandsExpected behavior
nix
should work as expected at least, I am not talking about systemd-related stuff.Notify maintainers
nixos-install-tools
has no maintainers.see NixOS/nix#7602
The text was updated successfully, but these errors were encountered: