PIL: use python executable names

This commit is contained in:
Domen Kožar 2014-08-23 19:17:59 +02:00
parent 99e300c4f8
commit f1a1c89f50

View File

@ -21,8 +21,8 @@ buildPythonPackage {
s|^ZLIB_ROOT =.*$|ZLIB_ROOT = libinclude("${zlib}")|g ;'
'';
checkPhase = "python selftest.py";
buildPhase = "python setup.py build_ext -i";
checkPhase = "${python}/bin/${python.executable} selftest.py";
buildPhase = "${python}/bin/${python.executable} setup.py build_ext -i";
postInstall = ''
cd "$out"/lib/python*/site-packages