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.
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
