3
0
Fork 0
forked from mirrors/nixpkgs

maintainers/scripts/update.nix: deduplicate packages

Lot of my GNOME packages have several legacy aliases,
which causes them to be updated multiple times.

This patch uses lib.unique to remove the duplicates.
This commit is contained in:
Jan Tojnar 2018-02-26 06:08:55 +01:00
parent 4145f5e3b0
commit f929f38d5e
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -9,7 +9,8 @@ let
pkgs = import ./../../default.nix { };
packagesWith = cond: return: set:
pkgs.lib.flatten
pkgs.lib.unique
(pkgs.lib.flatten
(pkgs.lib.mapAttrsToList
(name: pkg:
let
@ -25,6 +26,7 @@ let
else []
)
set
)
);
packagesWithUpdateScriptAndMaintainer = maintainer':