2025-12-13 22:01:54 +10:00
|
|
|
{
|
|
|
|
|
attrs,
|
|
|
|
|
result,
|
|
|
|
|
}: let
|
|
|
|
|
struct = import ./struct.nix {inherit attrs result;};
|
|
|
|
|
in
|
2025-12-14 09:26:58 +10:00
|
|
|
attrs.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)
|
|
|
|
|
]
|