fix [] ++ {} (im oopid)
This commit is contained in:
parent
803f759472
commit
c24cc9d46f
1 changed files with 7 additions and 5 deletions
|
|
@ -96,7 +96,7 @@
|
||||||
assert isAttrs nexus
|
assert isAttrs nexus
|
||||||
|| abort ''
|
|| abort ''
|
||||||
Cerulean Nexus config must be provided as an attribute set, got "${typeOf nexus}" instead!
|
Cerulean Nexus config must be provided as an attribute set, got "${typeOf nexus}" instead!
|
||||||
Ensure all the `nexus` declaration is an attribute set under your call to `cerulean.mkNexus`.
|
Ensure the `nexus` declaration is an attribute set under your call to `cerulean.mkNexus`.
|
||||||
''; let
|
''; let
|
||||||
base = nt.projectOnto templateNexus nexus;
|
base = nt.projectOnto templateNexus nexus;
|
||||||
in
|
in
|
||||||
|
|
@ -135,10 +135,12 @@
|
||||||
'';
|
'';
|
||||||
# ensure root group is always added
|
# ensure root group is always added
|
||||||
(node.groups
|
(node.groups
|
||||||
++ {
|
++ [
|
||||||
_parent = null;
|
{
|
||||||
_name = ROOT_GROUP_NAME;
|
_parent = null;
|
||||||
})
|
_name = ROOT_GROUP_NAME;
|
||||||
|
}
|
||||||
|
])
|
||||||
# ensure all members are actually groups
|
# ensure all members are actually groups
|
||||||
|> map (group: let
|
|> map (group: let
|
||||||
got =
|
got =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue