nixos/printing: simplify filterGutenprint function
This commit is contained in:
parent
7fcc4a8a84
commit
87f4d7a07a
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ let
|
|||
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;
|
||||
getGutenprint = pkgs: head (filterGutenprint pkgs);
|
||||
|
||||
|
|
Loading…
Reference in a new issue