clean flake.nix
This commit is contained in:
parent
e1b69177c8
commit
645a1edc2b
1 changed files with 3 additions and 7 deletions
10
flake.nix
10
flake.nix
|
|
@ -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!!!!!
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue