python3Packages.pyqt6: fix support for dbus-python (#389179)

authored by

Sandro and committed by
GitHub
c154082e 813be7e7

+12 -2
+1 -2
pkgs/development/python-modules/pyqt/6.x.nix
··· 38 38 patches = [ 39 39 # Fix some wrong assumptions by ./project.py 40 40 # TODO: figure out how to send this upstream 41 - # FIXME: make a version for PyQt6? 42 - # ./pyqt5-fix-dbus-mainloop-support.patch 41 + ./pyqt6-fix-dbus-mainloop-support.patch 43 42 # confirm license when installing via pyqt6_sip 44 43 ./pyqt5-confirm-license.patch 45 44 # Fix build with Qt 6.8.2
+11
pkgs/development/python-modules/pyqt/pyqt6-fix-dbus-mainloop-support.patch
··· 1 + --- a/project.py 2 + +++ b/project.py 3 + @@ -247,7 +247,7 @@ 4 + dbus_lib_dirs = [] 5 + dbus_libs = [] 6 + 7 + - args = ['pkg-config', '--cflags-only-I', '--libs dbus-1'] 8 + + args = ['pkg-config', '--cflags-only-I', '--libs dbus-1', 'dbus-python'] 9 + 10 + for line in self.read_command_pipe(args, fatal=False): 11 + for flag in line.strip().split():