forked from pub-solar/os
init unifyOverlays: to pass channels to overlays
Only to those with three arguments
This commit is contained in:
parent
3986cc441b
commit
ceef51425e
|
@ -50,7 +50,7 @@
|
|||
pathsToImportedAttrs
|
||||
concatAttrs
|
||||
filterPackages;
|
||||
inherit (lists) pathsIn collectProfiles;
|
||||
inherit (lists) pathsIn collectProfiles unifyOverlays;
|
||||
inherit (strings) rgxToString;
|
||||
inherit modules;
|
||||
}
|
||||
|
|
|
@ -16,4 +16,6 @@
|
|||
fullPath = name: "${toString dir}/${name}";
|
||||
in
|
||||
map fullPath (lib.attrNames (lib.safeReadDir dir));
|
||||
|
||||
unifyOverlays = channels: map (o: if builtins.isFunction (o null null) then o channels else o);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue