fix(nix-reuse): Run precommit hook only on changed files
This commit is contained in:
parent
45633dc6a0
commit
aa1bb4685e
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ let
|
||||||
|
|
||||||
hook = lib.recursiveUpdate {
|
hook = lib.recursiveUpdate {
|
||||||
name = "reuse lint";
|
name = "reuse lint";
|
||||||
entry = "${pkgs.reuse}/bin/reuse lint";
|
entry = "${pkgs.reuse}/bin/reuse lint-file";
|
||||||
enable = true;
|
enable = true;
|
||||||
stages = [ "pre-push" ];
|
stages = [ "pre-push" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue