add bootstrap process

This commit is contained in:
Emile Clark-Boman 2026-01-24 23:44:34 +10:00
parent 0514b9d8c9
commit b05fb3d725
2 changed files with 17 additions and 2 deletions

View file

@ -2,8 +2,10 @@
description = "NixTypes (nt)";
outputs = _: let
# nt depends on the mix subsystem for bootstrapping
mix = import ./nt/primitives/mix;
# nt depends on the mix subsystem for bootstrapping,
# we can fake its dependency on this mwahahahah
this.util = import ./nt/primitives/util/bootstrap.nix;
mix = import ./nt/primitives/mix {inherit this;};
in
import ./nt {inherit mix;};
}

View file

@ -0,0 +1,13 @@
# WARNING: this file is strictly for bootstrapping nt
let
input = {inherit this;};
this =
import ./util.nix input
// import ./parse.nix input
// import ./trapdoor.nix input
// import ./wrap.nix input
// import ./enforce.nix input
// import ./sig.nix input
// import ./nt.nix input;
in
this