summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/development/python-modules/python-efl/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/python-efl/default.nix b/pkgs/development/python-modules/python-efl/default.nix
index b1696a11f77b..8e3e9d9a5845 100644
--- a/pkgs/development/python-modules/python-efl/default.nix
+++ b/pkgs/development/python-modules/python-efl/default.nix
@@ -21,9 +21,9 @@ buildPythonPackage rec {
     export NIX_CFLAGS_COMPILE="$(pkg-config --cflags efl) -I${python.pkgs.dbus-python}/include/dbus-1.0 $NIX_CFLAGS_COMPILE"
   '';
   
-  preBuild = "${python}/bin/${python.executable} setup.py build_ext";
+  preBuild = "${python.interpreter} setup.py build_ext";
 
-  installPhase= "${python}/bin/${python.executable} setup.py install --prefix=$out";
+  installPhase= "${python.interpreter} setup.py install --prefix=$out";
 
   doCheck = false;