Merge pull request #33528 from FRidh/imp/pythonnousersite

wrapPythonPrograms: do not propagate disabling user site-packages to child-processes
This commit is contained in:
Frederik Rietdijk 2018-01-07 09:59:00 +01:00 committed by GitHub
commit aac9c9d337
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ wrapPythonProgramsIn() {
# (see pkgs/build-support/setup-hooks/make-wrapper.sh)
local -a wrap_args=("$f"
--prefix PATH ':' "$program_PATH"
--set PYTHONNOUSERSITE "true"
--add-flags '-s'
)
# Add any additional arguments provided by makeWrapperArgs