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