1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 13:40:32 +03:00

foxy: rviz-ogre-vendor: Fix AArch64 builds

This commit is contained in:
hacker1024 2023-09-13 19:52:53 +10:00 committed by Ben Wolsieffer
parent 8ba5740d1d
commit f8ae706198

View file

@ -92,7 +92,16 @@ rosSelf: rosSuper: with rosSelf.lib; {
rviz-ogre-vendor = (patchVendorUrl rosSuper.rviz-ogre-vendor {
url = "https://github.com/OGRECave/ogre/archive/v1.12.1.zip";
sha256 = "1iv6k0dwdzg5nnzw2mcgcl663q4f7p2kj7nhs8afnsikrzxxgsi4";
}).overrideAttrs ({ preFixup ? "", ... }: {
}).overrideAttrs ({ patches ? [], preFixup ? "", ... }: {
patches = patches ++ [
# Fix AArch64 builds.
(self.fetchpatch {
url = "https://github.com/ros2/rviz/pull/828.patch";
hash = "sha256-KpY9+oOsFxH+zhIxyP6UTOXTLaaUdCRzUMZnM7+uRAk=";
stripLen = 1;
})
];
preFixup = ''
# Prevent /build RPATH references
rm -r ogre_install