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:
parent
4145f5e3b0
commit
f929f38d5e
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue