about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pycairo/1.18.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pycairo/1.18.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/pycairo/1.18.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pycairo/1.18.nix b/nixpkgs/pkgs/development/python-modules/pycairo/1.18.nix
index 0a51c78c584d..9da4da1479c0 100644
--- a/nixpkgs/pkgs/development/python-modules/pycairo/1.18.nix
+++ b/nixpkgs/pkgs/development/python-modules/pycairo/1.18.nix
@@ -37,7 +37,10 @@ buildPythonPackage rec {
   ];
 
   mesonFlags = [
-    "-Dpython=${python.interpreter}"
+    # 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}"
   ];
 
   meta = with lib; {