summary refs log tree commit diff
path: root/pkgs/servers/http
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2019-08-27 14:26:17 +0200
committerPeter Simons <simons@cryp.to>2019-08-27 14:27:31 +0200
commit79c6d22c1fc55b69961f5b72c3b293fc739d0ef6 (patch)
tree9cffc02535636cef3c78c9a6dad41a9dd8181665 /pkgs/servers/http
parent630e25ba5cd30adb9efb8b6a64a295af780e62b4 (diff)
mod_wsgi: allow building this module with python 2.x and 3.x
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r--pkgs/servers/http/apache-modules/mod_wsgi/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/http/apache-modules/mod_wsgi/default.nix b/pkgs/servers/http/apache-modules/mod_wsgi/default.nix
index ff71e460b2ac4..a0fa4b4bca963 100644
--- a/pkgs/servers/http/apache-modules/mod_wsgi/default.nix
+++ b/pkgs/servers/http/apache-modules/mod_wsgi/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, apacheHttpd, python2 }:
+{ stdenv, fetchurl, apacheHttpd, python, ncurses }:
 
 stdenv.mkDerivation rec {
   name = "mod_wsgi-${version}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
     sha256 = "1j8pqn0xhd502ardlmkqx8y85s1npmk9nifqps60wjh29nny03f2";
   };
 
-  buildInputs = [ apacheHttpd python2 ];
+  buildInputs = [ apacheHttpd python ncurses ];
 
   patchPhase = ''
     sed -r -i -e "s|^LIBEXECDIR=.*$|LIBEXECDIR=$out/modules|" \