pythonPackages.pybind11: hardcode include directory
This commit is contained in:
@@ -39,6 +39,14 @@ buildPythonPackage rec {
|
||||
dontUsePipInstall = true;
|
||||
dontUseSetuptoolsCheck = true;
|
||||
|
||||
patches = [
|
||||
./0001-Find-include-directory.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pybind11/__init__.py --subst-var-by include "$out/include"
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
pushd ..
|
||||
export PYBIND11_USE_CMAKE=1
|
||||
@@ -50,8 +58,6 @@ buildPythonPackage rec {
|
||||
popd
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
numpy
|
||||
|
||||
Reference in New Issue
Block a user