Commit 27135d54 authored by Weijia Wang's avatar Weijia Wang
Browse files

python310Packages.pyqt6: build QtPrintSupport bindings on darwin

parent 4f399bd5
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@
#, withLocation ? true
# Not currently part of PyQt6
#, withConnectivity ? true
, withPrintSupport ? true
, cups
}:

buildPythonPackage rec {
@@ -102,6 +104,10 @@ buildPythonPackage rec {
    dbus-python
    pyqt6-sip
    setuptools
  ]
  # ld: library not found for -lcups
  ++ lib.optionals (withPrintSupport && stdenv.isDarwin) [
    cups
  ];

  passthru = {