this post was submitted on 04 Aug 2023
4 points (100.0% liked)
nixos
1256 readers
1 users here now
All about NixOS - https://nixos.org/
founded 4 years ago
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I cannot really verify this, but I think insteas of passing a list of packages you can just point the shebang to the shell.nix file, eg.
#!nix-shell -i bash ../../shell.nix