cups-bjnp: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-03 13:06:19 +01:00
parent 2acbd1bb8e
commit 49a3829704
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
preConfigure = ''configureFlags="--with-cupsbackenddir=$out/lib/cups/backend"'';
buildInputs = [cups];
NIX_CFLAGS_COMPILE = "-include stdio.h";
NIX_CFLAGS_COMPILE = [ "-include stdio.h" "-Wno-error=stringop-truncation" ];
meta = {
description = "CUPS back-end for Canon printers";