Add flake checks

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-09-10 18:10:04 +01:00
parent ac85b6f608
commit bfd4745bf2

View File

@@ -28,7 +28,11 @@
{
packages.${system} = import ./packages { inherit pkgs; };
formatter.${system} = treefmt.config.build.wrapper;
checks.${system}.formatting = treefmt.config.build.check inputs.self;
checks.${system} = with inputs.self; {
packages = packages.${system};
formatter = treefmt.config.build.check inputs.self;
};
}
);
}