nt/nib/parse/default.nix

12 lines
324 B
Nix
Raw Normal View History

{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:59:31 +10:00
with nib.types;
mergeAttrsList [
# submodule is included directly to this module (ie self.myFunc)
struct
2025-12-13 22:01:54 +10:00
2025-12-14 12:59:31 +10:00
# submodule content is accessible first by submodule name
# then by the name of the content (ie self.submodule.myFunc)
]