always use root group
This commit is contained in:
parent
16d9062e69
commit
c5c867b43f
1 changed files with 6 additions and 1 deletions
|
|
@ -133,7 +133,12 @@
|
|||
Cerulean Nexus node "${nodeName}" does not declare group membership as a list, got "${typeOf node.groups}" instead!
|
||||
Ensure `nexus.nodes.${nodeName}.groups` is a list under your call to `cerulean.mkNexus`.
|
||||
'';
|
||||
node.groups
|
||||
# ensure root group is always added
|
||||
(node.groups
|
||||
++ {
|
||||
_parent = null;
|
||||
_name = ROOT_GROUP_NAME;
|
||||
})
|
||||
# ensure all members are actually groups
|
||||
|> map (group: let
|
||||
got =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue