nixos/printing: simplify filterGutenprint function
This commit is contained in:
parent
7fcc4a8a84
commit
87f4d7a07a
@ -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 New Issue
Block a user