mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-10 09:52:22 +03:00
Move all rviz overrides to ros1-overlay.
This commit is contained in:
parent
b10d5411ad
commit
c3e41d9df5
2 changed files with 11 additions and 12 deletions
|
@ -319,16 +319,6 @@ let
|
|||
nativeBuildInputs = nativeBuildInputs ++ [ self.qt5.wrapQtAppsHook ];
|
||||
});
|
||||
|
||||
rviz = rosSuper.rviz.overrideAttrs ({
|
||||
nativeBuildInputs ? [], postFixup ? "", ...
|
||||
}: {
|
||||
dontWrapQtApps = false;
|
||||
nativeBuildInputs = nativeBuildInputs ++ [ self.qt5.wrapQtAppsHook ];
|
||||
postFixup = postFixup + ''
|
||||
wrapQtApp "$out/lib/rviz/rviz"
|
||||
'';
|
||||
});
|
||||
|
||||
rviz-ogre-vendor = rosSuper.rviz-ogre-vendor.overrideAttrs ({
|
||||
preFixup ? "", ...
|
||||
}: {
|
||||
|
|
|
@ -54,7 +54,7 @@ rosSelf: rosSuper: with rosSelf.lib; {
|
|||
# rviz does not support shiboken/pyside2 and SIP4 is broken with the latest
|
||||
# pyqt5. This applies a patch to make pyqt5 compatible with SIP 4 and uses
|
||||
# SIP 4 with python-qt-binding for rviz only.
|
||||
rviz = rosSuper.rviz.override {
|
||||
rviz = (rosSuper.rviz.override {
|
||||
python-qt-binding = (rosSuper.python-qt-binding.override {
|
||||
python3Packages = rosSelf.python3Packages.overrideScope (pyFinal: pyPrev: {
|
||||
pyqt5 = pyPrev.pyqt5.overrideAttrs ({
|
||||
|
@ -79,7 +79,16 @@ rosSelf: rosSuper: with rosSelf.lib; {
|
|||
-i cmake/sip_configure.py
|
||||
'' + postPatch;
|
||||
});
|
||||
};
|
||||
}).overrideAttrs ({
|
||||
nativeBuildInputs ? [],
|
||||
postFixup ? "", ...
|
||||
}: {
|
||||
dontWrapQtApps = false;
|
||||
nativeBuildInputs = nativeBuildInputs ++ [ self.qt5.wrapQtAppsHook ];
|
||||
postFixup = postFixup + ''
|
||||
wrapQtApp "$out/lib/rviz/rviz"
|
||||
'';
|
||||
});
|
||||
|
||||
roscpp = patchBoostSignals rosSuper.roscpp;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue