19 lines
314 B
Nix
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)
|