From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Vermaas Subject: Re: Down with /bin/sh! Date: Thu, 3 Jan 2013 17:00:50 +0100 Message-ID: References: <87a9sq47uj.fsf@inria.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1849951102==" Return-path: In-Reply-To: <87a9sq47uj.fsf@inria.fr> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nix-dev-bounces@lists.science.uu.nl Errors-To: nix-dev-bounces@lists.science.uu.nl To: =?ISO-8859-1?Q?Ludovic_Court=E8s?= Cc: nix-dev , bug-guix@gnu.org List-Id: bug-guix.gnu.org --===============1849951102== Content-Type: multipart/alternative; boundary=e89a8ff1c7148623f804d2647766 --e89a8ff1c7148623f804d2647766 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Ludo, =95 Right after unpacking a source tarball, all the source files go > through =91patch-shebang=92, 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. Cheers, Rob --=20 Rob Vermaas [email] rob.vermaas@gmail.com --e89a8ff1c7148623f804d2647766 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Hi Ludo,

=A0 =95 Right after unpacking a source tarball, all the source files go
=A0 =A0 through =91patch-shebang=92, which replaces any #!/bin/sh and simil= ar
=A0 =A0 with the right path.

I wo= uld not like such a change in stdenv of nixpkgs, without an option to disab= le 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/s= h in all source files/scripts. I haven't thought of it much, but in gen= eral I would like an approach better that would *not* change the source cod= e of packages by default, but only when it is really necessary.

Cheers,
Rob

<= /div>--
Rob Vermaas

[email] rob.vermaas@gmail.com=20
--e89a8ff1c7148623f804d2647766-- --===============1849951102== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev --===============1849951102==--