clippy pedantic clean + wired into flake checks

This commit is contained in:
müde 2026-05-14 22:57:47 +02:00
parent f12837fe32
commit fef2dee92a
12 changed files with 55 additions and 25 deletions

View file

@ -124,9 +124,18 @@
formatter = forAllSystems ({ treefmt-eval, ... }: treefmt-eval.config.build.wrapper);
checks = forAllSystems (
{ treefmt-eval, ... }:
{
treefmt-eval,
naersk-lib,
...
}:
{
formatting = treefmt-eval.config.build.check self;
clippy = naersk-lib.buildPackage {
src = ./.;
mode = "clippy";
cargoClippyOptions = orig: orig ++ [ "--all-targets" "--" "-D" "warnings" ];
};
}
);
};