diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-10-20 01:36:35 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2019-12-16 22:03:22 +0000 |
commit | 4ecf3e8998daf5dad3a1634cd43d70ba9ce54329 (patch) | |
tree | 05674ccfe348b930446fd29017244d742dbbca7a /nixpkgs/nixos | |
parent | 4cbc370090015726b9067dcc4f818ee0d27c951a (diff) | |
download | nixlib-4ecf3e8998daf5dad3a1634cd43d70ba9ce54329.tar nixlib-4ecf3e8998daf5dad3a1634cd43d70ba9ce54329.tar.gz nixlib-4ecf3e8998daf5dad3a1634cd43d70ba9ce54329.tar.bz2 nixlib-4ecf3e8998daf5dad3a1634cd43d70ba9ce54329.tar.lz nixlib-4ecf3e8998daf5dad3a1634cd43d70ba9ce54329.tar.xz nixlib-4ecf3e8998daf5dad3a1634cd43d70ba9ce54329.tar.zst nixlib-4ecf3e8998daf5dad3a1634cd43d70ba9ce54329.zip |
nixos/uwsgi: use pyhome instead of pythonpath
There's no need to construct the PYTHONPATH ourselves -- uwsgi can do it for us.
Diffstat (limited to 'nixpkgs/nixos')
-rw-r--r-- | nixpkgs/nixos/modules/services/web-servers/uwsgi.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixpkgs/nixos/modules/services/web-servers/uwsgi.nix b/nixpkgs/nixos/modules/services/web-servers/uwsgi.nix index af70f32f32d0..0131ad30333e 100644 --- a/nixpkgs/nixos/modules/services/web-servers/uwsgi.nix +++ b/nixpkgs/nixos/modules/services/web-servers/uwsgi.nix @@ -36,7 +36,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 []; |