nixpkgs/pkgs
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
..
applications Merge pull request #3256 from 1126/master 2014-07-27 14:17:56 +02:00
build-support
data
desktops fix e18 cpufreq module: set setuid to freqset 2014-07-25 12:49:31 +02:00
development python-wrapper: Fix fixup for wrapped argv[0]. 2014-07-28 04:18:21 +02:00
games openra: 20131223 -> 20140608 2014-07-24 17:17:31 +02:00
misc Merge pull request #3321 from qknight/snes9x-gtk 2014-07-27 21:38:25 +02:00
os-specific linux: Update to 3.12.25 2014-07-24 18:14:53 +02:00
servers openfire: get rid of builderDefs 2014-07-27 13:54:37 +02:00
shells
stdenv
test
tools at: upgrade to 3.1.14 - seems to solve problem with kernel 3.6 2014-07-27 22:57:54 +02:00
top-level Merge pull request #3321 from qknight/snes9x-gtk 2014-07-27 21:38:25 +02:00