[Nix-dev] Patching shebang paths

Ludovic Courtès ludovic.courtes at inria.fr
Wed Jun 11 14:13:02 CEST 2008


Hi,

Eelco Dolstra <e.dolstra at tudelft.nl> writes:

> Author: eelco
> Date: 2008-06-11 11:22:54 +0000 (Wed, 11 Jun 2008)
> New Revision: 12036
>
> You can view the changes in this commit at:
>    https://svn.nixos.org/viewvc/nix?rev=12036&view=rev
>
> Modified:
>    nixpkgs/branches/stdenv-updates/pkgs/stdenv/generic/setup.sh
>
> Log:
> * Automatically patch shebang paths ("#! /interpreter") to store
>   paths.  E.g. /usr/bin/perl is rewritten to /nix/store/<whatever Perl
>   is in $PATH>.  Paths in the Nix store are left unchanged.
>   Contributed by Nicolas Pierron.

Good idea!  I've been doing it manually for too long.  ;-)

Thanks,
Ludovic.



More information about the nix-dev mailing list