From a20db2bcd34c6ab3dcd71fc33e087e6bf12b0492 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Wed, 13 Nov 2019 19:46:00 -0500 Subject: [PATCH] kdeApplications.print-manager: fix build Just a quick and not pleasant fix until we update kdeApplications. And that needs to be done very soon. --- pkgs/applications/kde/print-manager.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/kde/print-manager.nix b/pkgs/applications/kde/print-manager.nix index 8ace4562cbd..f869f984e00 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" + ]; }