mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
7bf209db50
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. |
||
---|---|---|
.. | ||
generic | ||
linux | ||
mingw | ||
native | ||
nix | ||
adapters.nix | ||
common-path.nix | ||
default.nix |