run the whole test-suite circus with nix flake check

(because that is the purpose of that command as far as I understand it)
This commit is contained in:
sbatial 2023-07-30 15:06:04 +02:00
parent 61bf30f742
commit 75037c65ff

View file

@ -31,7 +31,7 @@
};
treefmtEval = treefmt-nix.lib.evalModule pkgs ./treefmt.nix;
in {
in rec {
# For `nix fmt`
formatter = treefmtEval.config.build.wrapper;
@ -69,6 +69,9 @@
# for `nix flake check`
checks = {
formatting = treefmtEval.config.build.check self;
build = packages.check;
test = packages.test;
lint = packages.clippy;
};
}
);