pythonX.Y sitePackages passthru

Let python tell you the correct path for site-packages.
This commit is contained in:
Florian Friesdorf
2014-07-07 18:39:57 +02:00
parent 19dd74c59a
commit 7dde165353
5 changed files with 12 additions and 7 deletions

View File

@@ -85,10 +85,11 @@ let
paxmark E $out/bin/python${majorVersion}
'';
passthru = {
passthru = rec {
inherit zlibSupport;
libPrefix = "python${majorVersion}";
executable = "python2.7";
executable = libPrefix;
sitePackages = "lib/${libPrefix}/site-packages";
};
enableParallelBuilding = true;