mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +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:
commit
aac9c9d337
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user