3
0
Fork 0
forked from mirrors/nixpkgs

cups-bjnp: fix build w/glibc-2.31

https://hydra.nixos.org/build/122883083
This commit is contained in:
Maximilian Bosch 2020-06-27 13:45:20 +02:00
parent 22b69ed143
commit 923b6bff55
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -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";