diff --git a/distros/noetic/overrides.nix b/distros/noetic/overrides.nix index caea28b867..e27055f3d6 100644 --- a/distros/noetic/overrides.nix +++ b/distros/noetic/overrides.nix @@ -130,4 +130,12 @@ rosSelf: rosSuper: with rosSelf.lib; { } : { buildInputs = buildInputs ++ [ self.opencl-clhpp ]; }); + + sophus = rosSuper.sophus.overrideAttrs ({ + postPatch ? "", ... + }: { + postPatch = postPatch + '' + substituteInPlace CMakeLists.txt --replace-fail " -Werror" "" + ''; + }); }