fix broken tests

This commit is contained in:
Emile Clark-Boman 2026-01-28 13:52:54 +10:00
parent ec37e6fd58
commit cfd91c70ad
3 changed files with 10 additions and 10 deletions

View file

@ -1,14 +1,18 @@
let
bootstrap = import ../nt/primitives/bootstrap;
bootstrap = import ../nt/primitives/std;
mix = import ../nt/mix/bootstrap.nix {
this = bootstrap;
};
nt = import ../nt {
mix = import ../nt/mix {
this = bootstrap;
};
inherit mix;
# flake.nix passes `flake = inputs.self`
flake = builtins.getFlake ../.;
};
primitives = import ../nt/primitives {inherit mix;};
dummyTest = {
expr = 1;
expected = 1;
@ -17,7 +21,7 @@ in {
testPass = dummyTest;
testMaybe = let
maybe-mod = import ./maybe.nix {this = bootstrap;};
maybe-mod = import ./maybe.nix {this = primitives;};
inherit
(maybe-mod)