iot-backend/nix/checks.nix

16 lines
242 B
Nix
Raw Normal View History

2023-01-25 12:21:02 +01: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;
};
};
}