switch to NixTypes system

This commit is contained in:
do butterflies cry? 2026-02-09 09:34:30 +10:00
parent a538a7f9bc
commit 151f093378
3 changed files with 19 additions and 35 deletions

View file

@ -14,7 +14,7 @@
{
this,
sys,
nib,
nt,
lib,
deploy-rs,
...
@ -40,7 +40,7 @@
templateNexus = let
inherit
(nib.types)
(nt.types)
Terminal
;
@ -61,7 +61,7 @@
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`.
''
else nib.parse.overrideStruct templateNexus nexus;
else nt.projectOnto templateNexus nexus;
mkNexus' = root: nexus': let
nexus = parseNexus nexus';