[Nix-dev] xtrace, bash

Marc Weber marco-oweber at gmx.de
Sun Dec 9 03:13:13 CET 2007


> 1) let static-bash create /nix/store/<hash>-static-bash/bin/bash, not
> /nix/store/<hash>-bash
> 2) correct it for xtrace manually in post-install hook (or fixup)
> What do you prefer?

3) fix it to use /bin/sh instead of bash? which is availible anyway anytime? (does this
work?)

If you want to use 2) you can use my shebangfix tool found in
all-packages.nix
PATH=.../bin shebangfix thescript 
.../bin is the path containing bash

just add it to buildinputs..

Marc W.



More information about the nix-dev mailing list