[Nix-dev] mix bundlerEnv and python3.buildEnv

Daniel Hlynskyi abcz2.uprola at gmail.com
Thu Jun 16 01:25:33 CEST 2016


Reason why patchShebangs doesn't work here is because `python` executable
is not accessible in the environment. Instead python is called `python3`.
So if your script used #!/usr/bin/env python3, your first example would had
worked as expected.

I think this is bug with nixpkgs python environment, python should be
accessible via `python` if it's unambiguous.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160616/07a85474/attachment.html>


More information about the nix-dev mailing list