nixpkgs/pkgs/development
Frederik Rietdijk d68aba4cfb Python: script names now include full path
Certain programs, like zim, calibre and now also apparently mercurial,
rely on sys.argv[0] providing not just the script name but the full
path.

The Python docs [1] state the following on the matter:

> argv[0] is the script name (it is operating system dependent whether
this is a full pathname or not).

Therefore, scripts should not expect to receive a full path.
Unfortunately some do. While this can be considered a bug, there doesn't
seem any reason not to provide the full path. Therefore we now provide
the full path.

[1]
https://docs.python.org/3.5/library/sys.html?highlight=sys.argv#sys.argv
2017-01-02 11:29:11 +01:00
..
arduino teensyduino: init at 1.31 (#20807) 2016-12-02 11:31:01 +01:00
beam-modules hexRegistrySnapshot: d58a937 -> e5e494a 2016-11-30 12:16:21 +01:00
bower-modules/generic
compilers Merge branch 'master' into staging 2017-01-02 00:54:17 +01:00
coq-modules coq_8_6: 8.6 is now default, 8.4 optional, updated mathcomp/ssreflect 2016-12-22 10:35:56 -08:00
dotnet-modules/patches
eclipse/ecj Remove jdt-sdk 2016-11-03 21:12:39 -04:00
em-modules/generic
go-modules buildGoPackage: reduce the default meta.platforms 2016-12-14 10:26:20 +01:00
guile-modules guile_ncurses: Use absolute path to load libguile-ncurses 2016-10-12 20:47:55 +01:00
haskell-modules haskellPackages.Glob: jailbreak to support GHC 8.0.2-rc2 2016-12-29 18:00:56 +01:00
idris-modules idrisPackages.httpclient: init 2016-12-20 00:28:23 +01:00
interpreters Python: script names now include full path 2017-01-02 11:29:11 +01:00
libraries add introspection to gmime 2017-01-01 22:38:12 +01:00
lisp-modules asdf: 3.1.6 -> 3.1.7 2016-09-26 15:49:30 +02:00
lua-modules
misc loc: 0.3.3 -> 0.3.4 2016-12-08 09:59:47 -05:00
mobile android-sdk: 25.2.2 -> 25.2.3 2016-12-10 19:51:55 +09:00
node-packages yarn: init at 0.17.8 (#20635) 2016-12-14 15:46:45 +01:00
ocaml-modules Merge pull request #19765 from FlorentBecker/some_buildOcaml 2016-12-30 20:47:50 +00:00
perl-modules perlPackages.DBDmysql: 4.039 -> 4.041 for CVE-2016-1251 2016-12-15 17:17:57 -05:00
pharo Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-07-21 00:56:43 +00:00
pure-modules purePackages.glpk: fix build 2016-09-10 17:41:19 +02:00
python-modules Merge branch 'master' into staging 2016-12-29 13:56:16 +01:00
qtcreator qtcreator: 4.1.0 -> 4.2.0 2016-12-29 22:32:23 +03:00
r-modules rPackages.DescTools: unbreak build outside of Linux. (#20787) 2016-12-13 16:25:44 +01:00
ruby-modules gem-config: add lxc as a dependency for ruby-lxc 2016-12-18 20:10:34 +01:00
tools Merge branch 'master' into staging 2017-01-02 00:54:17 +01:00
web nodejs: add bash completions for npm 2016-12-11 15:14:38 +01:00