provide flake instead of self

This commit is contained in:
Emile Clark-Boman 2026-01-27 08:34:41 +10:00
parent 470a87da7c
commit ed499de651

View file

@ -1,14 +1,17 @@
{ {
description = "NixTypes (nt)"; description = "NixTypes (nt)";
outputs = _: let outputs = inputs: let
# Step 1: Bootstrap and blast off (*zooommmmm whoooosshhhhh pppppeeeeeeewww*) # 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...) # Step 2: Lie to Mix about its real identity (it's not ready for the truth...)
mix = import ./nt/mix {this = bootstrap;}; mix = import ./nt/mix {this = bootstrap;};
in in
# Step 3: Actually import NixTypes # Step 3: Actually import NixTypes
import ./nt {inherit mix;}; import ./nt {
inherit mix;
flake = inputs.self;
};
# Step 4: Like and subscripe!!1!11!!!!! # Step 4: Like and subscripe!!1!11!!!!!
} }