add bootstrap process
This commit is contained in:
parent
0514b9d8c9
commit
b05fb3d725
2 changed files with 17 additions and 2 deletions
|
|
@ -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;};
|
||||
}
|
||||
|
|
|
|||
13
nt/primitives/util/bootstrap.nix
Normal file
13
nt/primitives/util/bootstrap.nix
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue