about summary refs log tree commit diff
path: root/pkgs/applications/kde
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-11-13 19:46:00 -0500
committerworldofpeace <worldofpeace@protonmail.ch>2019-11-13 19:46:00 -0500
commita20db2bcd34c6ab3dcd71fc33e087e6bf12b0492 (patch)
tree5204e4a22870177abcdd1f7f59b50692aa2c3e3e /pkgs/applications/kde
parentb4b2253459e10ef3b272c7ba8a7f3665b7e93efa (diff)
kdeApplications.print-manager: fix build
Just a quick and not pleasant fix until we update
kdeApplications. And that needs to be done very soon.
Diffstat (limited to 'pkgs/applications/kde')
-rw-r--r--pkgs/applications/kde/print-manager.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/kde/print-manager.nix b/pkgs/applications/kde/print-manager.nix
index 8ace4562cbd71..f869f984e0018 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"
+  ];
 }