diff --git a/pkgs/development/python-modules/pyqt/6.x.nix b/pkgs/development/python-modules/pyqt/6.x.nix index d98c4c695b6f..efd47df61da1 100644 --- a/pkgs/development/python-modules/pyqt/6.x.nix +++ b/pkgs/development/python-modules/pyqt/6.x.nix @@ -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 = {