mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
Python wrapper: undo change 8d76effc17
because we would otherwise end up with broken wrappers because PATH and PTYHONPATH weren't set.
This commit is contained in:
parent
20b8e4b4cf
commit
6128dd4d50
@ -86,7 +86,7 @@ wrapPythonProgramsIn() {
|
||||
_addToPythonPath() {
|
||||
local dir="$1"
|
||||
# Stop if we've already visited here.
|
||||
[ -n "${pythonPathsSeen[$dir]}" ] || return 0
|
||||
if [ -n "${pythonPathsSeen[$dir]}" ]; then return; fi
|
||||
pythonPathsSeen[$dir]=1
|
||||
# addToSearchPath is defined in stdenv/generic/setup.sh. It will have
|
||||
# the effect of calling `export program_X=$dir/...:$program_X`.
|
||||
|
Loading…
Reference in New Issue
Block a user