1
1
forked from extern/flakelight

Move inputs and inputs' pkgs attrs into flakelite attr

This will prevent name collisions, and be more cohesive as more is added
to the flakelite attr.
This commit is contained in:
Archit Gupta 2023-04-14 18:41:08 -07:00
parent 7c903add3f
commit 8f3827c45c

View File

@ -13,12 +13,12 @@ let
baseModule = src: inputs: root: {
withOverlay = final: prev: {
inherit inputs;
inputs' = mapAttrs
(_: mapAttrs
(_: v: v.${prev.system} or { }))
inputs;
flakelite = exports // {
inherit inputs;
inputs' = mapAttrs
(_: mapAttrs
(_: v: v.${prev.system} or { }))
inputs;
meta = {
platforms = root.systems;
} // optionalAttrs (root ? description) {