virtinst: use python2

This commit is contained in:
Frederik Rietdijk 2016-11-08 15:40:39 +01:00
parent e7f9195169
commit a18ac150a3

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pythonPackages, intltool, libxml2Python, curl }: { stdenv, fetchurl, python2Packages, intltool, libxml2Python, curl }:
with stdenv.lib; with stdenv.lib;
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "175laiy49dni8hzi0cn14bbsdsigvgr9h6d9z2bcvbpa29spldvf"; sha256 = "175laiy49dni8hzi0cn14bbsdsigvgr9h6d9z2bcvbpa29spldvf";
}; };
pythonPath = with pythonPackages; pythonPath = with python2Packages;
[ setuptools eventlet greenlet gflags netaddr carrot routes [ setuptools eventlet greenlet gflags netaddr carrot routes
PasteDeploy m2crypto ipy twisted PasteDeploy m2crypto ipy twisted
distutils_extra simplejson glanceclient cheetah lockfile httplib2 distutils_extra simplejson glanceclient cheetah lockfile httplib2
@ -22,9 +22,9 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = buildInputs =
[ pythonPackages.python [ python2Packages.python
pythonPackages.wrapPython python2Packages.wrapPython
pythonPackages.mox python2Packages.mox
intltool intltool
] ++ pythonPath; ] ++ pythonPath;