summary refs log tree commit diff
path: root/pkgs/development/python-modules/pybind11/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pybind11/default.nix')
-rw-r--r--pkgs/development/python-modules/pybind11/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pybind11/default.nix b/pkgs/development/python-modules/pybind11/default.nix
index fe29cde9e5226..e2b216d1724ba 100644
--- a/pkgs/development/python-modules/pybind11/default.nix
+++ b/pkgs/development/python-modules/pybind11/default.nix
@@ -17,7 +17,7 @@
     name = "pybind11-setup-hook";
     substitutions = {
       out = placeholder "out";
-      pythonInterpreter = python.pythonForBuild.interpreter;
+      pythonInterpreter = python.pythonOnBuildForHost.interpreter;
       pythonIncludeDir = "${python}/include/python${python.pythonVersion}";
       pythonSitePackages = "${python}/${python.sitePackages}";
     };