3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development
aszlig 5f01cc70d3
python-wrapper: Fix fixup for wrapped argv[0].
Fixes issues introduced by 24ef871e6a.

The problem here is that "import sys; sys.argv[0] = ..." is just
appended after the first "#!", which in turn breaks things such as
encoding specifications. A second problem - although not very common -
is when there's another #! within the script.

This should take care of both cases.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-07-28 04:18:21 +02:00
..
arduino
compilers idris: patch 0.9.14 to workaround a bug 2014-07-24 15:48:07 -05:00
eclipse
guile-modules
interpreters jack: change package and attr names to 'jack1' and 'jack2' 2014-07-23 20:22:14 +02:00
libraries Merge branch 'shotcut' 2014-07-27 13:03:08 +02:00
lisp-modules fetchbzr, fetchdarcs, fetchhg: use rev attr 2014-06-28 21:06:10 +02:00
misc
mobile titaniumsdk: Bump to version 3.3.0.GA stable 2014-07-18 16:59:36 +02:00
ocaml-modules Adds yojson. 2014-07-05 09:00:12 +02:00
perl-modules
python-modules python-wrapper: Fix fixup for wrapped argv[0]. 2014-07-28 04:18:21 +02:00
qtcreator
r-modules Added CRAN archive to R package derivation to prevent R expressions from 2014-07-08 11:02:05 +10:00
ruby-modules
tools update hlint to 1.9.2 2014-07-25 14:45:47 -07:00
web Merge pull request #3003 from offlinehacker/nixpkg/nodejs/buildNodePackage/shellHook 2014-07-26 08:53:52 +02:00