As title, setting nix.package = pkgs.nix-monitored; breaks nix-shell shebangs.
Here's a minimal script you can use to test:
#!/usr/bin/env nix-shell
#!nix-shell -i bash
echo "within nix-shell"
The script would fail is the option is enabled, showing uninformative error.
$ ./test.sh
error: undefined variable 'echo'
at /home/leana/.dotfiles/test.sh:4:1:
3|
4| echo "within nix-shell"
| ^
5|
As title, setting
nix.package = pkgs.nix-monitored;breaks nix-shell shebangs.Here's a minimal script you can use to test:
The script would fail is the option is enabled, showing uninformative error.