Skip to content

Commit

Permalink
rviz-ogre-vendor: don't set dontFixCmake for newer distros
Browse files Browse the repository at this point in the history
jazzy and newer don't install to /opt anymore (due to ament vendor
patching) so this shouldn't be needed.
  • Loading branch information
lopsided98 committed Nov 5, 2024
1 parent ffc4fc8 commit 653f6e8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
7 changes: 5 additions & 2 deletions distros/humble/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,13 @@ in with lib; {
'';
});

rviz-ogre-vendor = patchVendorUrl rosSuper.rviz-ogre-vendor {
rviz-ogre-vendor = (patchVendorUrl rosSuper.rviz-ogre-vendor {
url = "https://github.com/OGRECave/ogre/archive/v1.12.1.zip";
sha256 = "1iv6k0dwdzg5nnzw2mcgcl663q4f7p2kj7nhs8afnsikrzxxgsi4";
};
}).overrideAttrs ({ ... }: {
# Prevent replacing $out/opt/.. with $out/var/empty/..
dontFixCmake = true;
});

shared-queues-vendor = patchVendorUrl (patchVendorUrl rosSuper.shared-queues-vendor {
url = "https://github.com/cameron314/concurrentqueue/archive/8f65a8734d77c3cc00d74c0532efca872931d3ce.zip";
Expand Down
2 changes: 2 additions & 0 deletions distros/iron/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ in with lib; {
--replace-fail 'https://github.com/${ogre.owner}/${ogre.repo}/archive/${ogre.rev}.zip' ${lib.escapeShellArg ogreTar} \
--replace-fail c1b870955efddf539385094e9034e7f7 fcc1176585a7feb9f23c7900182a1f32
'';
# Prevent replacing $out/opt/.. with $out/var/empty/..
dontFixCmake = true;
});

shared-queues-vendor = patchVendorUrl (patchVendorUrl rosSuper.shared-queues-vendor {
Expand Down
5 changes: 0 additions & 5 deletions distros/ros2-overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,6 @@ rosSelf: rosSuper: with rosSelf.lib; {
'';
});

rviz-ogre-vendor = rosSuper.rviz-ogre-vendor.overrideAttrs ({ ... }: {
# Prevent replacing $out/opt/.. with $out/var/empty/..
dontFixCmake = true;
});

rviz2 = rosSuper.rviz2.overrideAttrs ({
nativeBuildInputs ? [], qtWrapperArgs ? [], postFixup ? "", meta ? {}, ...
}: {
Expand Down

0 comments on commit 653f6e8

Please sign in to comment.