athens/nix/checks.nix
2024-12-07 20:46:15 -05:00

19 lines
314 B
Nix

{
self,
system,
deploy-rs,
pre-commit-hooks,
...
}:
{
pre-commit-check = pre-commit-hooks.lib.${system}.run {
src = ./.;
hooks = {
deadnix.enable = true;
nixfmt-rfc-style.enable = true;
statix.enable = true;
};
};
}
// (deploy-rs.lib.${system}.deployChecks self.deploy)