summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2020-03-06 13:16:26 +0000
committerGitHub <noreply@github.com>2020-03-06 13:16:26 +0000
commit87ae01e70b147f8e23a078c9de7b6f53f15bf873 (patch)
tree5d96462d8534cbe9d099bc15cf3c94380ffbacfb /nixos
parentb6ee012c39e3ecc90c2de29c5cc5e0fac3c2ae35 (diff)
parent7bbf7fa6936fcec1de0241bb301a2a155e59664b (diff)
downloadnixpkgs-87ae01e70b147f8e23a078c9de7b6f53f15bf873.tar
nixpkgs-87ae01e70b147f8e23a078c9de7b6f53f15bf873.tar.gz
nixpkgs-87ae01e70b147f8e23a078c9de7b6f53f15bf873.tar.bz2
nixpkgs-87ae01e70b147f8e23a078c9de7b6f53f15bf873.tar.lz
nixpkgs-87ae01e70b147f8e23a078c9de7b6f53f15bf873.tar.xz
nixpkgs-87ae01e70b147f8e23a078c9de7b6f53f15bf873.tar.zst
nixpkgs-87ae01e70b147f8e23a078c9de7b6f53f15bf873.zip
Merge pull request #81752 from alexbakker/fix-55221
uwsgi: use pyhome instead of pythonpath for uwsgi vassals
Diffstat (limited to 'nixos')
-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 3481b5e6040..4b74c329e3d 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 [];