From 8ab65d44dd885723725af3fd818ec0473a842d72 Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Fri, 11 Nov 2022 13:24:14 -0500 Subject: [PATCH] humble: urdfdom: add patch to fix build --- distros/humble/overrides.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/distros/humble/overrides.nix b/distros/humble/overrides.nix index 69a5ac0695..643627f52e 100644 --- a/distros/humble/overrides.nix +++ b/distros/humble/overrides.nix @@ -79,11 +79,25 @@ rosSelf: rosSuper: with rosSelf.lib; { sha256 = "1iv6k0dwdzg5nnzw2mcgcl663q4f7p2kj7nhs8afnsikrzxxgsi4"; }; + urdfdom = rosSuper.urdfdom.overrideAttrs ({ + patches ? [], ... + }: { + patches = patches ++ [ + # Fix CMake relative install dir assumptions + # https://github.com/ros/urdfdom/pull/142 + (self.fetchpatch { + url = "https://github.com/ros/urdfdom/commit/a627bd366e5fcabd814fb5b88ac55986374e46c9.patch"; + hash = "sha256-pUpS9lBgwuFDejvRXrLPe+FRm0Gjh7H2URS/bic9ys0="; + }) + ]; + }); + urdfdom-headers = rosSuper.urdfdom-headers.overrideAttrs ({ patches ? [], ... }: { patches = patches ++ [ - # Fix CMake relative install dir assumptions (https://github.com/ros/urdfdom_headers/pull/66) + # Fix CMake relative install dir assumptions + # https://github.com/ros/urdfdom_headers/pull/66 (self.fetchpatch { url = "https://github.com/ros/urdfdom_headers/commit/c9c993147bbf18d5ec83bae684c5780281e529b4.patch"; hash = "sha256-BnYPdcetYSim2O1R38N0d1tY0Id++AgKNic8+dlM6Vg=";