uwsgi: use pyhome instead of pythonpath for uwsgi vassals

(cherry picked from commit 7bbf7fa693)
This commit is contained in:
Alexander Bakker
2020-03-04 20:20:32 +01:00
committed by Jörg Thalheim
parent f707a0cef4
commit 2ec23b2e2f

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 [];