[Nix-dev] shebang in "throwaway" scripts

Karn Kallio tierpluspluslists at gmail.com
Mon Sep 6 22:28:33 CEST 2010


When writing "throwaway" scripts I have been using shebang lines referring to 
the current-system like this:

#!/var/run/current-system/sw/bin/bash


I am curious to know how others handle "throwaway" shebangs; is there some 
idiomatic NixOS way to write them?




More information about the nix-dev mailing list