pypy3Packages.pybind11: fix include directory (#443802)

This commit is contained in:
dotlambda
2025-09-19 06:40:06 -07:00
committed by GitHub
@@ -2,7 +2,6 @@
stdenv,
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
cmake,
ninja,
@@ -14,7 +13,6 @@
catch2,
numpy,
pytest,
libxcrypt,
makeSetupHook,
}:
let
@@ -23,7 +21,7 @@ let
substitutions = {
out = placeholder "out";
pythonInterpreter = python.pythonOnBuildForHost.interpreter;
pythonIncludeDir = "${python}/include/python${python.pythonVersion}";
pythonIncludeDir = "${python}/include/${python.libPrefix}";
pythonSitePackages = "${python}/${python.sitePackages}";
};
} ./setup-hook.sh;