Loading pkgs/development/python-modules/pybind11/default.nix +7 −2 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ boost, eigen, python, catch, catch2, numpy, pytestCheckHook, libxcrypt, Loading Loading @@ -59,6 +59,7 @@ buildPythonPackage rec { cmakeFlags = [ "-DBoost_INCLUDE_DIR=${lib.getDev boost}/include" "-DCATCH_INCLUDE_DIR=${lib.getDev catch2}/include/catch2" "-DEIGEN3_INCLUDE_DIR=${lib.getDev eigen}/include/eigen3" ] ++ lib.optionals (python.isPy3k && !stdenv.cc.isClang) [ "-DPYBIND11_CXX_STANDARD=-std=c++17" ]; Loading @@ -76,7 +77,7 @@ buildPythonPackage rec { ''; nativeCheckInputs = [ catch catch2 numpy pytestCheckHook ]; Loading @@ -99,6 +100,10 @@ buildPythonPackage rec { "test_cross_module_exception_translator" ]; postCheck = '' make cpptest ''; hardeningDisable = lib.optional stdenv.hostPlatform.isMusl "fortify"; meta = with lib; { Loading Loading
pkgs/development/python-modules/pybind11/default.nix +7 −2 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ boost, eigen, python, catch, catch2, numpy, pytestCheckHook, libxcrypt, Loading Loading @@ -59,6 +59,7 @@ buildPythonPackage rec { cmakeFlags = [ "-DBoost_INCLUDE_DIR=${lib.getDev boost}/include" "-DCATCH_INCLUDE_DIR=${lib.getDev catch2}/include/catch2" "-DEIGEN3_INCLUDE_DIR=${lib.getDev eigen}/include/eigen3" ] ++ lib.optionals (python.isPy3k && !stdenv.cc.isClang) [ "-DPYBIND11_CXX_STANDARD=-std=c++17" ]; Loading @@ -76,7 +77,7 @@ buildPythonPackage rec { ''; nativeCheckInputs = [ catch catch2 numpy pytestCheckHook ]; Loading @@ -99,6 +100,10 @@ buildPythonPackage rec { "test_cross_module_exception_translator" ]; postCheck = '' make cpptest ''; hardeningDisable = lib.optional stdenv.hostPlatform.isMusl "fortify"; meta = with lib; { Loading