diff --git a/pkgs/applications/kde/print-manager.nix b/pkgs/applications/kde/print-manager.nix index 8ace4562cbd7..f869f984e001 100644 --- a/pkgs/applications/kde/print-manager.nix +++ b/pkgs/applications/kde/print-manager.nix @@ -20,4 +20,10 @@ mkDerivation { kwidgetsaddons kitemviews kio kwindowsystem plasma-framework qtdeclarative ]; outputs = [ "out" "dev" ]; + # Fix build with cups deprecations etc. + # See: https://github.com/NixOS/nixpkgs/issues/73334 + NIX_CFLAGS_COMPILE = [ + "-Wno-error=deprecated-declarations" + "-Wno-error=format-security" + ]; }