maintainers/scripts/update.nix: allow updating overlays
This commit is contained in:
parent
8130f3c1c2
commit
bacb0969f2
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue