cups-filters: fix build with qpdf >= 11.3.0

This commit is contained in:
K900 2023-03-11 10:22:57 +03:00
parent 4b09d1c5d7
commit 68cd4eeded

View file

@ -75,6 +75,9 @@ stdenv.mkDerivation rec {
makeFlags = [ "CUPS_SERVERBIN=$(out)/lib/cups" "CUPS_DATADIR=$(out)/share/cups" "CUPS_SERVERROOT=$(out)/etc/cups" ];
# https://github.com/OpenPrinting/cups-filters/issues/512
env.NIX_CFLAGS_COMPILE = "-std=c++17";
postConfigure =
''
# Ensure that bannertopdf can find the PDF templates in