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

This commit is contained in:
Sandro
2021-03-14 17:49:41 +01:00
committed by GitHub
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ let
ignoreCollisions = true; ignoreCollisions = true;
}; };
filterGutenprint = pkgs: filter (pkg: pkg.meta.isGutenprint or false == true) pkgs; filterGutenprint = filter (pkg: pkg.meta.isGutenprint or false == true);
containsGutenprint = pkgs: length (filterGutenprint pkgs) > 0; containsGutenprint = pkgs: length (filterGutenprint pkgs) > 0;
getGutenprint = pkgs: head (filterGutenprint pkgs); getGutenprint = pkgs: head (filterGutenprint pkgs);
+3 -2
View File
@@ -1,4 +1,5 @@
{lib, stdenv, fetchurl, unzip, autoreconfHook, libtool, makeWrapper, cups, ghostscript, pkgsi686Linux, zlib }: { lib, stdenv, fetchurl, unzip, autoreconfHook, libtool, makeWrapper, cups
, ghostscript, pkgsi686Linux, zlib }:
let let
@@ -20,7 +21,7 @@ in
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "canon-cups-ufr2"; pname = "canon-cups-ufr2";
version = version; inherit version;
src = src_canon; src = src_canon;
phases = [ "unpackPhase" "installPhase" ]; phases = [ "unpackPhase" "installPhase" ];
+3 -1
View File
@@ -1,4 +1,6 @@
{lib, stdenv, fetchurl, cups, dpkg, gnused, makeWrapper, ghostscript, file, a2ps, coreutils, gawk, perl, gnugrep, which}: { lib, stdenv, fetchurl, cups, dpkg, gnused, makeWrapper, ghostscript, file
, a2ps, coreutils, perl, gnugrep, which
}:
let let
version = "3.2.0-1"; version = "3.2.0-1";