mkdir nib/std && replace --all 'with' 'let ... in'

This commit is contained in:
Emile Clark-Boman 2025-12-14 20:47:34 +10:00
parent f9bb6ad937
commit fd008cd2e1
11 changed files with 108 additions and 104 deletions

View file

@ -1,11 +1,7 @@
{nib, ...} @ args: let
struct = import ./struct.nix args;
in
with nib.types;
mergeAttrsList [
# 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)
]
nib.std.mergeAttrsList [
# submodule is included directly to this module (ie self.myFunc)
struct
]