diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-11-30 11:03:35 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2013-12-02 13:02:42 +0100 |
commit | 7bf209db50be1ce57298320e596e8c8fd817c927 (patch) | |
tree | 80519232ef758728e1f6a1632910308ed8c89467 /pkgs/development/libraries | |
parent | 29c11ef8a52e791d83170c9cb7b9e8ff00e48bdc (diff) | |
download | nixlib-7bf209db50be1ce57298320e596e8c8fd817c927.tar nixlib-7bf209db50be1ce57298320e596e8c8fd817c927.tar.gz nixlib-7bf209db50be1ce57298320e596e8c8fd817c927.tar.bz2 nixlib-7bf209db50be1ce57298320e596e8c8fd817c927.tar.lz nixlib-7bf209db50be1ce57298320e596e8c8fd817c927.tar.xz nixlib-7bf209db50be1ce57298320e596e8c8fd817c927.tar.zst nixlib-7bf209db50be1ce57298320e596e8c8fd817c927.zip |
patchShebangs: rewrite ".../bin/env python" to /nix/store/.../python
Currently "/usr/bin/env python" is rewritten to "/nix/store/.../env python". That doesn't really improve anything because the interpreter still have to be located in $PATH at runtime. The result is that many nix package expressions do .../bin/env fixup themselves. Instead of everyone having to do this patching locally, add the functionality to the standard environment patchShebangs function so that everyone can benefit.
Diffstat (limited to 'pkgs/development/libraries')
0 files changed, 0 insertions, 0 deletions