Merge pull request #81752 from alexbakker/fix-55221

uwsgi: use pyhome instead of pythonpath for uwsgi vassals
This commit is contained in:
Jörg Thalheim 2020-03-06 13:16:26 +00:00 committed by GitHub
commit 87ae01e70b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ let
inherit plugins;
} // removeAttrs c [ "type" "pythonPackages" ]
// optionalAttrs (python != null) {
pythonpath = "${pythonEnv}/${python.sitePackages}";
pyhome = "${pythonEnv}";
env =
# Argh, uwsgi expects list of key-values there instead of a dictionary.
let env' = c.env or [];