diff --git a/pkgs/development/python-modules/correctionlib/default.nix b/pkgs/development/python-modules/correctionlib/default.nix index 957f5da7ed791..96ea87b952fd3 100644 --- a/pkgs/development/python-modules/correctionlib/default.nix +++ b/pkgs/development/python-modules/correctionlib/default.nix @@ -41,6 +41,10 @@ buildPythonPackage rec { hash = "sha256-aLTeyDOo80p8xzl/IPnpT3BOjS2qOYn/Z7pidcLoEY8="; }; + postPatch = '' + substituteInPlace CMakeLists.txt --replace-fail "-Wall -Wextra -Wpedantic -Werror" "" + ''; + build-system = [ pybind11 scikit-build-core