diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2011-03-29 15:19:59 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2011-03-29 15:19:59 +0000 |
commit | 353d4508672f05965835f7122b1551f08472776c (patch) | |
tree | c2bb7066f6ad0af30b9ec75c94e76cc232aaa9ff /pkgs/development/python-modules | |
parent | 11b67ccee5a2f3c1b12430c7e1f892ac6bccd1c1 (diff) | |
download | nixlib-353d4508672f05965835f7122b1551f08472776c.tar nixlib-353d4508672f05965835f7122b1551f08472776c.tar.gz nixlib-353d4508672f05965835f7122b1551f08472776c.tar.bz2 nixlib-353d4508672f05965835f7122b1551f08472776c.tar.lz nixlib-353d4508672f05965835f7122b1551f08472776c.tar.xz nixlib-353d4508672f05965835f7122b1551f08472776c.tar.zst nixlib-353d4508672f05965835f7122b1551f08472776c.zip |
* wrapPythonPrograms: don't hard-code the Python library prefix.
svn path=/nixpkgs/branches/modular-python/; revision=26594
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/generic/wrap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/generic/wrap.sh b/pkgs/development/python-modules/generic/wrap.sh index fb20c5fd7233..65f3229ca7c4 100644 --- a/pkgs/development/python-modules/generic/wrap.sh +++ b/pkgs/development/python-modules/generic/wrap.sh @@ -35,7 +35,7 @@ _addToPythonPath() { local dir="$1" if [ -n "${pythonPathsSeen[$dir]}" ]; then return; fi pythonPathsSeen[$dir]=1 - addToSearchPath program_PYTHONPATH $dir/lib/python2.7/site-packages + addToSearchPath program_PYTHONPATH $dir/lib/@libPrefix@/site-packages addToSearchPath program_PATH $dir/bin local prop="$dir/nix-support/propagated-build-native-inputs" if [ -e $prop ]; then |