Merge pull request #116303 from samuelgrf/printing-related-refactors

authored by

Sandro and committed by
GitHub
5caaae33 cc7a4866

+7 -4
+1 -1
nixos/modules/services/printing/cupsd.nix
··· 104 104 ignoreCollisions = true; 105 105 }; 106 106 107 - filterGutenprint = pkgs: filter (pkg: pkg.meta.isGutenprint or false == true) pkgs; 107 + filterGutenprint = filter (pkg: pkg.meta.isGutenprint or false == true); 108 108 containsGutenprint = pkgs: length (filterGutenprint pkgs) > 0; 109 109 getGutenprint = pkgs: head (filterGutenprint pkgs); 110 110
+3 -2
pkgs/misc/cups/drivers/canon/default.nix
··· 1 - {lib, stdenv, fetchurl, unzip, autoreconfHook, libtool, makeWrapper, cups, ghostscript, pkgsi686Linux, zlib }: 1 + { lib, stdenv, fetchurl, unzip, autoreconfHook, libtool, makeWrapper, cups 2 + , ghostscript, pkgsi686Linux, zlib }: 2 3 3 4 let 4 5 ··· 20 21 21 22 stdenv.mkDerivation { 22 23 pname = "canon-cups-ufr2"; 23 - version = version; 24 + inherit version; 24 25 src = src_canon; 25 26 26 27 phases = [ "unpackPhase" "installPhase" ];
+3 -1
pkgs/misc/cups/drivers/hll2340dw/default.nix
··· 1 - {lib, stdenv, fetchurl, cups, dpkg, gnused, makeWrapper, ghostscript, file, a2ps, coreutils, gawk, perl, gnugrep, which}: 1 + { lib, stdenv, fetchurl, cups, dpkg, gnused, makeWrapper, ghostscript, file 2 + , a2ps, coreutils, perl, gnugrep, which 3 + }: 2 4 3 5 let 4 6 version = "3.2.0-1";