17 lines
263 B
Nix
17 lines
263 B
Nix
{
|
|
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 = {};
|
|
};
|
|
}
|