From e99617dda797c3f46c7bde8880e54c759230efd2 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Sat, 8 Mar 2025 19:50:57 +0100 Subject: [PATCH] noetic: Build against Boost 1.86 Many packages fail to compile with Boost 1.87. Updating them to Boost 1.87 would be non-trivial amount of work and given the approaching Noetic EOL, it wouldn't pay off. Mixing different Boost versions in the distribution also leads to failures so setting 1.86 for all packages seems to be the best option. --- distros/noetic/overrides.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/distros/noetic/overrides.nix b/distros/noetic/overrides.nix index 0577e4123c..3c0aa1134b 100644 --- a/distros/noetic/overrides.nix +++ b/distros/noetic/overrides.nix @@ -27,6 +27,15 @@ in { }) ]; }); + # Many packages fail to compile with Boost 1.87 + boost = rosSelf.boost186; + + # Apply the same override as in distro-overlay.nix + boost186 = self.boost186.override { + python = rosSelf.python; + enablePython = true; + }; + eigenpy = rosSuper.eigenpy.overrideAttrs ({ cmakeFlags ? [], ... }: {