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