Refactor tests to load flake inputs with flake-compat

This makes `nix fmt` just works and we no longer have to override flake
inputs.
This commit is contained in:
Jörg Thalheim
2025-08-17 11:20:09 +02:00
parent 2379bc4099
commit 4bafcc2454
10 changed files with 491 additions and 190 deletions

11
tests/treefmt.nix Normal file
View File

@@ -0,0 +1,11 @@
{
projectRootFile = "flake.nix";
programs = {
deadnix = {
enable = true;
no-lambda-pattern-names = true;
};
nixfmt.enable = true;
};
settings.on-unmatched = "info";
}