pythonPackages.pybind11: improve expression

We shouldn't build and install the package in preFixup.
This commit is contained in:
Robert Schütz
2021-06-22 13:42:54 +02:00
committed by Martin Weinelt
parent 328efcc3e6
commit fbbe75d6e9
2 changed files with 24 additions and 21 deletions
@@ -1,9 +1,9 @@
{lib, fetchPypi, python, buildPythonPackage, gfortran, nose, pytest, numpy, pybind11}:
let
pybind = pybind11.overridePythonAttrs(oldAttrs: {
pybind = pybind11.overridePythonAttrs (oldAttrs: {
cmakeFlags = oldAttrs.cmakeFlags ++ [
"-DPYBIND11_TEST=off"
"-DBUILD_TESTING=off"
];
doCheck = false; # Circular test dependency
});