diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-08-17 06:18:07 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-08-20 00:42:49 +0300 |
commit | 837cf416cee05e1651ae56ef9b65454645497d8d (patch) | |
tree | 48091d68f64849f61b17c1815d461c419590d4ed /pkgs/development/python-modules/generic/wrap.sh | |
parent | adafdb88f55e94f28f46d57c4432cf3dd57ebc60 (diff) | |
download | nixpkgs-837cf416cee05e1651ae56ef9b65454645497d8d.tar nixpkgs-837cf416cee05e1651ae56ef9b65454645497d8d.tar.gz nixpkgs-837cf416cee05e1651ae56ef9b65454645497d8d.tar.bz2 nixpkgs-837cf416cee05e1651ae56ef9b65454645497d8d.tar.lz nixpkgs-837cf416cee05e1651ae56ef9b65454645497d8d.tar.xz nixpkgs-837cf416cee05e1651ae56ef9b65454645497d8d.tar.zst nixpkgs-837cf416cee05e1651ae56ef9b65454645497d8d.zip |
wrapPythonProgram: exclude Python itself from PYTHONPATH
Diffstat (limited to 'pkgs/development/python-modules/generic/wrap.sh')
-rw-r--r-- | pkgs/development/python-modules/generic/wrap.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/generic/wrap.sh b/pkgs/development/python-modules/generic/wrap.sh index f4b2d44993c..ca73a473ed5 100644 --- a/pkgs/development/python-modules/generic/wrap.sh +++ b/pkgs/development/python-modules/generic/wrap.sh @@ -17,6 +17,8 @@ buildPythonPath() { declare -A pythonPathsSeen=() program_PYTHONPATH= program_PATH= + pythonPathsSeen["@python@"]=1 + addToSearchPath program_PATH @python@/bin for path in $pythonPath; do _addToPythonPath $path done |