fix(nix-reuse): Run precommit hook only on changed files

This commit is contained in:
sinavir 2025-01-23 09:40:35 +01:00
parent 45633dc6a0
commit aa1bb4685e
No known key found for this signature in database

View file

@ -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" ];
}; };