Heh, I really like the principle of using :nixos: nix-shell as a shebang on non-#NixOS platforms. This script just launches #KBibTeX (the #TexLaTeX#BibTeX bibliography editor). Helpful in a synced :gitannex: #gitAnnex repo with multiple participants across different OSs.
In this case, the environment and programs (e.g. PDF viewer) installed in the OS stay accessible - a great advantage in comparison to container solutions like #Apptainer's for example.