clean flake.nix

This commit is contained in:
Emile Clark-Boman 2026-01-28 10:40:50 +10:00
parent e1b69177c8
commit 645a1edc2b

View file

@ -28,7 +28,7 @@
; ;
# inputs accessible to all modules # inputs accessible to all modules
base = { inputs = {
inherit mix; inherit mix;
flake = self; flake = self;
# XXX: TODO: implement mix.extend instead of this # XXX: TODO: implement mix.extend instead of this
@ -45,19 +45,15 @@
inherit systems nixpkgs nix-unit; inherit systems nixpkgs nix-unit;
}; };
# Step 1: Bootstrap and blast off (*zooommmmm whoooosshhhhh pppppeeeeeeewww*)
bootstrap = import ./nt/primitives/bootstrap; bootstrap = import ./nt/primitives/bootstrap;
# Step 2: Lie to Mix about its real identity (it's not ready for the truth...) mix = import ./nt/mix/bootstrap.nix {this = bootstrap;};
mix = import ./nt/mix {this = bootstrap;};
in in
newMixture base (mixture: { newMixture inputs (mixture: {
includes.public = [ includes.public = [
# XXX: TODO: implement mix.extend # XXX: TODO: implement mix.extend
# (extend ./flake deps) # (extend ./flake deps)
./flake ./flake
# Step 3: Actually import NixTypes
./nt ./nt
]; ];
}); });
# Step 4: Like and subscripe!!1!11!!!!!
} }