god help me
This commit is contained in:
parent
143a63e81e
commit
9f88e9c86d
1 changed files with 8 additions and 5 deletions
13
flake.nix
13
flake.nix
|
|
@ -114,11 +114,14 @@
|
||||||
templateAttrs = templateNode name nodeAttrs.system;
|
templateAttrs = templateNode name nodeAttrs.system;
|
||||||
S = nib.parse.parseStructFor templateAttrs nodeAttrs;
|
S = nib.parse.parseStructFor templateAttrs nodeAttrs;
|
||||||
in
|
in
|
||||||
nib.types.unwrapOk (_:
|
nib.types.unwrapOk (res:
|
||||||
abort ''
|
if nib.types.isRes res
|
||||||
Cerulean failed to parse `cerulean.nexus.nodes.${name}`!
|
then
|
||||||
mergeStruct should never return `result.Err`... How are you here?!?
|
abort ''
|
||||||
'')
|
Cerulean failed to parse `cerulean.nexus.nodes.${name}`!
|
||||||
|
mergeStruct should never return `result.Err`... How are you here?!?
|
||||||
|
''
|
||||||
|
else abort "huh wtf ${builtins.typeOf res} +AND-THEN+ ${builtins.toJSON res}")
|
||||||
S;
|
S;
|
||||||
|
|
||||||
# mapNodes = f: builtins.mapAttrs f (builtins.mapAttrs parseNode config.nexus.nodes);
|
# mapNodes = f: builtins.mapAttrs f (builtins.mapAttrs parseNode config.nexus.nodes);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue