maintainers/scripts/update.nix: allow updating overlays

This commit is contained in:
Jan Tojnar 2020-02-18 01:04:50 +01:00
parent 8130f3c1c2
commit bacb0969f2
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -2,6 +2,7 @@
, maintainer ? null
, path ? null
, max-workers ? null
, include-overlays ? false
, keep-going ? null
}:
@ -20,9 +21,7 @@ let
in
[x] ++ nubOn f xs;
pkgs = import ./../../default.nix {
overlays = [];
};
pkgs = import ./../../default.nix (if include-overlays then { } else { overlays = []; });
packagesWith = cond: return: set:
nubOn (pkg: pkg.updateScript)