[Nix-dev] Dealing with non-Bash /bin/sh on non-NixOS

Peter Simons simons at cryp.to
Fri Nov 9 19:34:05 CET 2012


Hi Shea,

 > Because (as this thread illustrates) that will break things, to almost 
 > no gain. 

if all scripts get fixed not to assume /bin/sh to be Bash, then there is
a significant gain to users of Nix on non-NixOS hosts. Doesn't that
count for something?


 > It's one thing to test locally with a dash /bin/sh to find 
 > packages with bad assumptions, it's another thing to break packages that 
 > currently work perfectly well for the vast majority of nix users.

How do you test packages locally with /bin/sh pointing to Dash on NixOS?
I had no idea that's possible.

Take care,
Peter



More information about the nix-dev mailing list