uwsgi: use pyhome instead of pythonpath for uwsgi vassals

This commit is contained in:
Alexander Bakker 2020-03-04 20:20:32 +01:00
parent 1b100a5360
commit 7bbf7fa693

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