mod_wsgi: use python2

This commit is contained in:
Frederik Rietdijk 2016-11-08 22:42:11 +01:00
parent 559864a951
commit 61158e2833

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, apacheHttpd, python }: { stdenv, fetchurl, apacheHttpd, python2 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "mod_wsgi-${version}"; name = "mod_wsgi-${version}";
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "14xz422jlakdhxzsl8xs9if86yf1fnkwdg0havjyqs7my0w4qrzh"; sha256 = "14xz422jlakdhxzsl8xs9if86yf1fnkwdg0havjyqs7my0w4qrzh";
}; };
buildInputs = [ apacheHttpd python ]; buildInputs = [ apacheHttpd python2 ];
patchPhase = '' patchPhase = ''
sed -r -i -e "s|^LIBEXECDIR=.*$|LIBEXECDIR=$out/modules|" \ sed -r -i -e "s|^LIBEXECDIR=.*$|LIBEXECDIR=$out/modules|" \