Sorry I meant nix-shell -p, I didn't read your original comment properly apparently
It's definitely an option as op wants to run one script from the sounds of it, nix-shell not nix shell is perfect for that
It's a bit needlessly confusing that there are two entirely separate commands with the same name and thought you were talking about the original one
Ah I read or as of, thought op said dropping support of dual boot