16 lines
276 B
Nix
16 lines
276 B
Nix
|
{
|
||
|
self,
|
||
|
pre-commit-hooks,
|
||
|
...
|
||
|
}: system: {
|
||
|
pre-commit-check = pre-commit-hooks.lib.${system}.run {
|
||
|
src = self.pkgs.${system}.lib.cleanSource ../.;
|
||
|
hooks = {
|
||
|
alejandra.enable = true;
|
||
|
statix.enable = true;
|
||
|
#luacheck
|
||
|
#stylua
|
||
|
};
|
||
|
};
|
||
|
}
|