[Nix-dev] shebang in "throwaway" scripts

Lluís Batlle i Rossell viriketo at gmail.com
Tue Sep 7 10:06:53 CEST 2010


On Mon, Sep 06, 2010 at 03:58:33PM -0430, Karn Kallio wrote:
> When writing "throwaway" scripts I have been using shebang lines referring to 
> the current-system like this:
> 
> #!/var/run/current-system/sw/bin/bash

For the most I write, /bin/sh works fine enough. For other cases, I take
solutions as yours.



More information about the nix-dev mailing list