pypy3Packages.pybind11: fix include directory (#443802)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user