diff --git a/pkgs/development/python-modules/pyqt/6.x.nix b/pkgs/development/python-modules/pyqt/6.x.nix index a44e8b89dfa9..eba98a79c9c8 100644 --- a/pkgs/development/python-modules/pyqt/6.x.nix +++ b/pkgs/development/python-modules/pyqt/6.x.nix @@ -42,6 +42,10 @@ buildPythonPackage rec { # ./pyqt5-fix-dbus-mainloop-support.patch # confirm license when installing via pyqt6_sip ./pyqt5-confirm-license.patch + # Fix build with Qt 6.8.2 + # See: https://gitlab.archlinux.org/archlinux/packaging/packages/pyqt6/-/blob/main/qt-6.8.2.patch + # FIXME: remove when merged upstream + ./pyqt6-qt-6.8.2.patch ]; build-system = [ diff --git a/pkgs/development/python-modules/pyqt/pyqt6-qt-6.8.2.patch b/pkgs/development/python-modules/pyqt/pyqt6-qt-6.8.2.patch new file mode 100644 index 000000000000..b148722434a7 --- /dev/null +++ b/pkgs/development/python-modules/pyqt/pyqt6-qt-6.8.2.patch @@ -0,0 +1,12 @@ +diff -ru PyQt6-6.8.0.orig/sip/QtCore/qstringconverter_base.sip PyQt6-6.8.0/sip/QtCore/qstringconverter_base.sip +--- PyQt6-6.8.0.orig/sip/QtCore/qstringconverter_base.sip 2025-01-31 12:23:09.006305233 +0100 ++++ PyQt6-6.8.0/sip/QtCore/qstringconverter_base.sip 2025-01-31 12:28:34.695224379 +0100 +@@ -22,7 +22,7 @@ + + %If (Qt_6_4_0 -) + +-class QStringConverterBase ++class QStringConverterBase /NoDefaultCtors/ + { + %TypeHeaderCode + #include