2025-12-14 12:41:52 +10:00
|
|
|
{nib, ...} @ args: let
|
2025-12-14 10:20:33 +10:00
|
|
|
struct = import ./struct.nix args;
|
2025-12-13 22:01:54 +10:00
|
|
|
in
|
2025-12-14 12:41:52 +10:00
|
|
|
nib.types.mergeAttrsList [
|
2025-12-13 22:01:54 +10:00
|
|
|
# submodule is included directly to this module (ie self.myFunc)
|
|
|
|
|
struct
|
|
|
|
|
|
|
|
|
|
# submodule content is accessible first by submodule name
|
|
|
|
|
# then by the name of the content (ie self.submodule.myFunc)
|
|
|
|
|
]
|