From ffdabf02b94adf4b841211b56cbaea76e0e45467 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 16 Dec 2014 18:20:12 +0100 Subject: [PATCH] cups: Get rid of obsolete banners These use bannertops, which no longer exists. And they conflicted with the working banners in cups-filters. --- pkgs/misc/cups/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/misc/cups/default.nix b/pkgs/misc/cups/default.nix index 0f99902badb..8e34f4d5ae8 100644 --- a/pkgs/misc/cups/default.nix +++ b/pkgs/misc/cups/default.nix @@ -38,6 +38,12 @@ stdenv.mkDerivation { "CUPS_PRIMARY_SYSTEM_GROUP=root" ]; + postInstall = + '' + # Delete obsolete stuff that conflicts with cups-filters. + rm -rf $out/share/cups/banners $out/share/cups/data/testprint + ''; + meta = { homepage = "http://www.cups.org/"; description = "A standards-based printing system for UNIX";