mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-10 17:54:49 +03:00
Use wrapQtAppsHook.
This commit is contained in:
parent
cdcb85b14e
commit
0fd7813c2c
1 changed files with 4 additions and 16 deletions
|
@ -223,27 +223,15 @@ let
|
|||
});
|
||||
|
||||
rqt-gui = rosSuper.rqt-gui.overrideAttrs ({
|
||||
nativeBuildInputs ? [],
|
||||
postFixup ? "", ...
|
||||
nativeBuildInputs ? [], ...
|
||||
}: {
|
||||
nativeBuildInputs = nativeBuildInputs ++ [ self.makeWrapper ];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/rqt \
|
||||
--prefix QT_PLUGIN_PATH : "${self.qt5.qtbase.bin}/${self.qt5.qtbase.qtPluginPrefix}"
|
||||
'' + postFixup;
|
||||
nativeBuildInputs = nativeBuildInputs ++ [ self.qt5.wrapQtAppsHook ];
|
||||
});
|
||||
|
||||
rviz = rosSuper.rviz.overrideAttrs ({
|
||||
nativeBuildInputs ? [],
|
||||
postFixup ? "", ...
|
||||
nativeBuildInputs ? [], ...
|
||||
}: {
|
||||
nativeBuildInputs = nativeBuildInputs ++ [ self.makeWrapper ];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/rviz \
|
||||
--prefix QT_PLUGIN_PATH : "${self.qt5.qtbase.bin}/${self.qt5.qtbase.qtPluginPrefix}"
|
||||
'' + postFixup;
|
||||
nativeBuildInputs = nativeBuildInputs ++ [ self.qt5.wrapQtAppsHook ];
|
||||
});
|
||||
|
||||
rviz-ogre-vendor = rosSuper.rviz-ogre-vendor.overrideAttrs ({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue