all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rob Vermaas <rob.vermaas@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: nix-dev <nix-dev@cs.uu.nl>, bug-guix@gnu.org
Subject: Re: Down with /bin/sh!
Date: Thu, 3 Jan 2013 17:00:50 +0100	[thread overview]
Message-ID: <CAJuVCXt+pOLKDJrCQDv0tMaNSRFjDuu5SBWRsdCM4OcbJAdi8A@mail.gmail.com> (raw)
In-Reply-To: <87a9sq47uj.fsf@inria.fr>


[-- Attachment #1.1: Type: text/plain, Size: 701 bytes --]

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.

Cheers,
Rob

-- 
Rob Vermaas

[email] rob.vermaas@gmail.com

[-- Attachment #1.2: Type: text/html, Size: 1045 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

  reply	other threads:[~2013-01-03 16:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-03 15:14 Down with /bin/sh! Ludovic Courtès
2013-01-03 16:00 ` Rob Vermaas [this message]
2013-01-03 16:27   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJuVCXt+pOLKDJrCQDv0tMaNSRFjDuu5SBWRsdCM4OcbJAdi8A@mail.gmail.com \
    --to=rob.vermaas@gmail.com \
    --cc=bug-guix@gnu.org \
    --cc=ludo@gnu.org \
    --cc=nix-dev@cs.uu.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.