From 923b6bff55837bcda35eb136a5bee69f8b9801cb Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 27 Jun 2020 13:45:20 +0200 Subject: [PATCH] cups-bjnp: fix build w/glibc-2.31 https://hydra.nixos.org/build/122883083 --- pkgs/misc/cups/drivers/cups-bjnp/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/misc/cups/drivers/cups-bjnp/default.nix b/pkgs/misc/cups/drivers/cups-bjnp/default.nix index e9fac1c73e2f..9dbfdd8b8030 100644 --- a/pkgs/misc/cups/drivers/cups-bjnp/default.nix +++ b/pkgs/misc/cups/drivers/cups-bjnp/default.nix @@ -11,7 +11,11 @@ stdenv.mkDerivation rec { preConfigure = ''configureFlags="--with-cupsbackenddir=$out/lib/cups/backend"''; buildInputs = [cups]; - NIX_CFLAGS_COMPILE = [ "-include stdio.h" "-Wno-error=stringop-truncation" ]; + NIX_CFLAGS_COMPILE = [ + "-include stdio.h" + "-Wno-error=stringop-truncation" + "-Wno-error=deprecated-declarations" + ]; meta = { description = "CUPS back-end for Canon printers";