From 865fd6778044f1a6c93f5a97e3e043cfad2c6233 Mon Sep 17 00:00:00 2001 From: Clemens Fruhwirth Date: Sun, 13 Jun 2021 15:46:36 +0200 Subject: [PATCH] cupsd: Allow major upgrades of gutenprint with cups-genppdupdate. (cherry picked from commit 66a4cdc74217b10188cbee4ff472e59290a7ce25) --- nixos/modules/services/printing/cupsd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/printing/cupsd.nix b/nixos/modules/services/printing/cupsd.nix index 78251b3721a77..ee82f635e6fdb 100644 --- a/nixos/modules/services/printing/cupsd.nix +++ b/nixos/modules/services/printing/cupsd.nix @@ -417,7 +417,7 @@ in ${optionalString (containsGutenprint cfg.drivers) '' if [ -d /var/lib/cups/ppd ]; then - ${getGutenprint cfg.drivers}/bin/cups-genppdupdate -p /var/lib/cups/ppd + ${getGutenprint cfg.drivers}/bin/cups-genppdupdate -x -p /var/lib/cups/ppd fi ''} '';