forked from mirrors/nixpkgs
PIL: use python executable names
This commit is contained in:
parent
99e300c4f8
commit
f1a1c89f50
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue