Skip to content

Commit 8903a2a

Browse files
committed
qt-gui & python-qt-binding: exclude pyqt5
1 parent b854868 commit 8903a2a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

distros/distro-overlay.nix

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,10 @@ let
191191
hash = "sha256-+ou08BZCIhRMDi9GMyAOLmdoGJNZaqLpA7nMszZOFgg=";
192192
})
193193
];
194-
propagatedBuildInputs = propagatedBuildInputs ++ (with rosSelf.pythonPackages; [
194+
propagatedBuildInputs = lib.lists.filter (p: p.name != "pyqt5") (propagatedBuildInputs ++ (with rosSelf.pythonPackages; [
195195
pyside6
196196
pyqt6-sip
197-
]);
197+
]));
198198

199199
dontWrapQtApps = true;
200200

@@ -256,6 +256,12 @@ let
256256
'';
257257
});
258258

259+
qt-gui= rosSuper.qt-gui.overrideAttrs ({
260+
propagatedBuildInputs ? [], ...
261+
}: {
262+
propagatedBuildInputs = lib.lists.filter (p: p.name != "pyqt5") propagatedBuildInputs;
263+
});
264+
259265
qt-gui-cpp = rosSuper.qt-gui-cpp.overrideAttrs (
260266
{
261267
patches ? [ ],

0 commit comments

Comments
 (0)