Skip to content

Commit

Permalink
rviz2: fix overriding meta
Browse files Browse the repository at this point in the history
  • Loading branch information
lopsided98 committed Jun 19, 2023
1 parent a315d2c commit bf06ff6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions distros/ros2-overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,16 @@ rosSelf: rosSuper: with rosSelf.lib; {
});

rviz2 = rosSuper.rviz2.overrideAttrs ({
nativeBuildInputs ? [], postFixup ? "", ...
nativeBuildInputs ? [], postFixup ? "", meta ? {}, ...
}: {
dontWrapQtApps = false;
nativeBuildInputs = nativeBuildInputs ++ [ self.qt5.wrapQtAppsHook ];
postFixup = postFixup + ''
wrapQtApp "$out/lib/rviz2/rviz2"
'';
meta.mainProgram = "rviz2";
meta = meta // {
mainProgram = "rviz2";
};
});

# The build gets stuck in an infinite loop with absolute CMAKE_INSTALL_LIBDIR:
Expand Down

0 comments on commit bf06ff6

Please sign in to comment.