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
|
pathsToImportedAttrs
|
||||||
concatAttrs
|
concatAttrs
|
||||||
filterPackages;
|
filterPackages;
|
||||||
inherit (lists) pathsIn collectProfiles;
|
inherit (lists) pathsIn collectProfiles unifyOverlays;
|
||||||
inherit (strings) rgxToString;
|
inherit (strings) rgxToString;
|
||||||
inherit modules;
|
inherit modules;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,4 +16,6 @@
|
||||||
fullPath = name: "${toString dir}/${name}";
|
fullPath = name: "${toString dir}/${name}";
|
||||||
in
|
in
|
||||||
map fullPath (lib.attrNames (lib.safeReadDir dir));
|
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