From 7bbf7fa6936fcec1de0241bb301a2a155e59664b Mon Sep 17 00:00:00 2001 From: Alexander Bakker Date: Wed, 4 Mar 2020 20:20:32 +0100 Subject: [PATCH] uwsgi: use pyhome instead of pythonpath for uwsgi vassals --- nixos/modules/services/web-servers/uwsgi.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-servers/uwsgi.nix b/nixos/modules/services/web-servers/uwsgi.nix index 3481b5e60403..4b74c329e3dc 100644 --- a/nixos/modules/services/web-servers/uwsgi.nix +++ b/nixos/modules/services/web-servers/uwsgi.nix @@ -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 [];