mushlab-iot/nix/checks.nix

17 lines
263 B
Nix
Raw Normal View History

2023-06-08 01:51:13 +02:00
{
self,
pre-commit-hooks,
...
}: system:
with self.pkgs.${system}; {
pre-commit-check =
pre-commit-hooks.lib.${system}.run
{
src = lib.cleanSource ../.;
hooks = {
alejandra.enable = true;
};
settings = {};
};
}