summary refs log tree commit diff
path: root/pkgs/development/python2-modules/pycairo/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python2-modules/pycairo/default.nix')
-rw-r--r--pkgs/development/python2-modules/pycairo/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python2-modules/pycairo/default.nix b/pkgs/development/python2-modules/pycairo/default.nix
index eefc69a3323..f90031e048f 100644
--- a/pkgs/development/python2-modules/pycairo/default.nix
+++ b/pkgs/development/python2-modules/pycairo/default.nix
@@ -42,7 +42,7 @@ buildPythonPackage rec {
     # This is only used for figuring out what version of Python is in
     # use, and related stuff like figuring out what the install prefix
     # should be, but it does need to be able to execute Python code.
-    "-Dpython=${python.pythonForBuild.interpreter}"
+    "-Dpython=${python.pythonOnBuildForHost.interpreter}"
   ];
 
   meta = with lib; {