mkdir nib/std && replace --all 'with' 'let ... in'
This commit is contained in:
parent
f9bb6ad937
commit
fd008cd2e1
11 changed files with 108 additions and 104 deletions
|
|
@ -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
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue