From eb494b45ed8cf44e18ad9a5892eb9f696bd38e01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernd=20M=C3=BCller?= Date: Tue, 4 Mar 2025 12:47:15 +0100 Subject: [PATCH] [fix] nav2-behavior-tree --- distros/humble/overrides.nix | 6 ++++++ distros/jazzy/overrides.nix | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/distros/humble/overrides.nix b/distros/humble/overrides.nix index 119427fb59..c7d887e971 100644 --- a/distros/humble/overrides.nix +++ b/distros/humble/overrides.nix @@ -105,6 +105,12 @@ in with lib; { propagatedBuildInputs = propagatedBuildInputs ++ [ rosSelf.moveit-ros-planning ]; }); + nav2-behavior-tree = rosSuper.nav2-behavior-tree.overrideAttrs({ + ... + }: { + env.NIX_CFLAGS_COMPILE = toString [ "-Wno-error=array-bounds" ]; + }); + nav2-costmap-2d = rosSuper.nav2-costmap-2d.overrideAttrs({ ... }: { diff --git a/distros/jazzy/overrides.nix b/distros/jazzy/overrides.nix index ac18323446..2ce0ba832f 100644 --- a/distros/jazzy/overrides.nix +++ b/distros/jazzy/overrides.nix @@ -168,6 +168,12 @@ in { ''; }); + nav2-behavior-tree = rosSuper.nav2-behavior-tree.overrideAttrs({ + ... + }: { + env.NIX_CFLAGS_COMPILE = toString [ "-Wno-error=array-bounds" ]; + }); + nav2-costmap-2d = rosSuper.nav2-costmap-2d.overrideAttrs({ ... }: {