about summary refs log tree commit diff
path: root/nixos/modules/services/web-servers/uwsgi.nix
diff options
context:
space:
mode:
authorAlexander Bakker <ab@alexbakker.me>2020-03-04 20:20:32 +0100
committerAlexander Bakker <ab@alexbakker.me>2020-03-04 20:20:32 +0100
commit7bbf7fa6936fcec1de0241bb301a2a155e59664b (patch)
tree224131db661b209d9b8bf2df234cf50739f26af0 /nixos/modules/services/web-servers/uwsgi.nix
parent1b100a5360ef7cde69b814d3b45e1b48f8448b2c (diff)
uwsgi: use pyhome instead of pythonpath for uwsgi vassals
Diffstat (limited to 'nixos/modules/services/web-servers/uwsgi.nix')
-rw-r--r--nixos/modules/services/web-servers/uwsgi.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-servers/uwsgi.nix b/nixos/modules/services/web-servers/uwsgi.nix
index 3481b5e604033..4b74c329e3dc0 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 [];