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 fcdbf37b7d
No known key found for this signature in database

View file

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