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 ;' s|^ZLIB_ROOT =.*$|ZLIB_ROOT = libinclude("${zlib}")|g ;'
''; '';
checkPhase = "python selftest.py"; checkPhase = "${python}/bin/${python.executable} selftest.py";
buildPhase = "python setup.py build_ext -i"; buildPhase = "${python}/bin/${python.executable} setup.py build_ext -i";
postInstall = '' postInstall = ''
cd "$out"/lib/python*/site-packages cd "$out"/lib/python*/site-packages