Update git-hooks
This commit is contained in:
parent
5b6630c24f
commit
1188eddc12
3 changed files with 35 additions and 35 deletions
|
@ -3,7 +3,7 @@
|
|||
nixpkgs,
|
||||
treefmt-nix,
|
||||
flake-utils,
|
||||
pre-commit-hooks,
|
||||
git-hooks,
|
||||
...
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
|
@ -14,7 +14,7 @@ flake-utils.lib.eachDefaultSystem (
|
|||
in {
|
||||
packages.formatter = treefmtWrapper;
|
||||
formatter = self.packages.${system}.formatter;
|
||||
checks.pre-commit-check = pre-commit-hooks.lib.${system}.run {
|
||||
checks.pre-commit-check = git-hooks.lib.${system}.run {
|
||||
src = ./.;
|
||||
hooks = {
|
||||
treefmt = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue