diff --git a/pkgs/development/interpreters/python/wrap.sh b/pkgs/development/interpreters/python/wrap.sh index f10ba003432be..f1ba513696c51 100644 --- a/pkgs/development/interpreters/python/wrap.sh +++ b/pkgs/development/interpreters/python/wrap.sh @@ -75,7 +75,7 @@ wrapPythonProgramsIn() { --prefix PATH ':' "$program_PATH" ) - if [ -z "$permitUserSite" ]; then + if [ -n "$permitUserSite" ]; then wrap_args+=(--set PYTHONNOUSERSITE "true") fi