Wouldn’t it make sense to not allow nesting by default, like tmux.
Such issues can be taken care of: https://github.com/NixOS/nix/issues/6140#issuecomment-1986317698
You can file a feature request on https://github.com/nixos/nix
Can this check be added to flake devshell, can be generic, any check failed wouldn’t load devshell ?
I tried this in shellHook
, but nix develop
will ignore any failures in shellHook, and will start a devShell anyway.
https://github.com/NixOS/nix/issues/10388
Last updated: Nov 15 2024 at 12:33 UTC