Skip to content

Commit

Permalink
ament-cmake-vendor-package: don't 'fix' cmake files
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitchell Pleune authored and lopsided98 committed Sep 14, 2024
1 parent a6f38ac commit 9bc3386
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions distros/ros2-overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ rosSelf: rosSuper: with rosSelf.lib; {
outputs = [ "out" "dev" ];
});

ament-cmake-vendor-package = rosSuper.ament-cmake-vendor-package.overrideAttrs ({
# the regular cmake fixing replaces <snip>/opt<snip> with /var/empty, even within
# the local ros2 install folder, which completely breaks vendoring, since the
# cmake_prefix_path will no longer point the where the files are.
dontFixCmake = true;
});

cyclonedds = rosSuper.cyclonedds.overrideAttrs ({
cmakeFlags ? [], ...
}: {
Expand Down

0 comments on commit 9bc3386

Please sign in to comment.