From 68cd4eededa6f6fcfe926c736ffd0e4e64c5726a Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 11 Mar 2023 10:22:57 +0300 Subject: [PATCH] cups-filters: fix build with qpdf >= 11.3.0 --- pkgs/misc/cups/filters.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/misc/cups/filters.nix b/pkgs/misc/cups/filters.nix index e44c9634b0f4..6da2226fa651 100644 --- a/pkgs/misc/cups/filters.nix +++ b/pkgs/misc/cups/filters.nix @@ -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