1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 02:51:18 +00:00

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