mod_wsgi: use python2
This commit is contained in:
parent
559864a951
commit
61158e2833
@ -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|" \
|
||||||
|
Loading…
Reference in New Issue
Block a user