mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-12 02:34:50 +03:00
rviz2: fix overriding meta
This commit is contained in:
parent
a315d2c6df
commit
bf06ff6123
1 changed files with 4 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue