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;
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "175laiy49dni8hzi0cn14bbsdsigvgr9h6d9z2bcvbpa29spldvf";
};
pythonPath = with pythonPackages;
pythonPath = with python2Packages;
[ setuptools eventlet greenlet gflags netaddr carrot routes
PasteDeploy m2crypto ipy twisted
distutils_extra simplejson glanceclient cheetah lockfile httplib2
@ -22,9 +22,9 @@ stdenv.mkDerivation rec {
];
buildInputs =
[ pythonPackages.python
pythonPackages.wrapPython
pythonPackages.mox
[ python2Packages.python
python2Packages.wrapPython
python2Packages.mox
intltool
] ++ pythonPath;