From f1a1c89f5032aecd5a42ab2ed89d2a2db46a5064 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Sat, 23 Aug 2014 19:17:59 +0200 Subject: [PATCH] PIL: use python executable names --- pkgs/development/python-modules/pil/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pil/default.nix b/pkgs/development/python-modules/pil/default.nix index 35a1e913bf7..e9375d1daad 100644 --- a/pkgs/development/python-modules/pil/default.nix +++ b/pkgs/development/python-modules/pil/default.nix @@ -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