chore(dev/tests): port to nix-unit

This commit is contained in:
Robert Hensing 2026-05-02 17:08:25 +01:00
parent fc145db8c6
commit a2c4a4a4e9
2 changed files with 426 additions and 0 deletions

View file

@ -42,6 +42,8 @@
let tests = import ./tests/eval-tests.nix { flake-parts = self; };
in tests.runTests pkgs.emptyFile // { internals = tests; };
nix-unit.tests = import ./tests/nix-unit.nix { flake-parts = self; };
# nix-unit evaluates the flake, which triggers the dev partition via
# flake-compat, requiring network to fetch dev inputs.
nix-unit.allowNetwork = true;