[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nix-dev] Down with /bin/sh!

From: Rob Vermaas
Subject: Re: [Nix-dev] Down with /bin/sh!
Date: Thu, 3 Jan 2013 17:00:50 +0100

Hi Ludo,

  • Right after unpacking a source tarball, all the source files go
    through ‘patch-shebang’, which replaces any #!/bin/sh and similar
    with the right path.

I would not like such a change in stdenv of nixpkgs, without an option to disable this. For example, we use nix to build some packages that run outside of nix, and for those, we do not want to replace all the references to /bin/sh in all source files/scripts. I haven't thought of it much, but in general I would like an approach better that would *not* change the source code of packages by default, but only when it is really necessary.


Rob Vermaas

[email] address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]