fix [] ++ {} (im oopid)

This commit is contained in:
do butterflies cry? 2026-02-16 08:20:24 +10:00
parent 803f759472
commit c24cc9d46f

View file

@ -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 =