ci: limit lefthook logging

This commit is contained in:
eric
2026-03-15 17:14:25 +01:00
parent b8d0a69d4d
commit 45f3830794
4 changed files with 9 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ outputs = { self, nixpkgs, repo-lib, ... }:
- merged `packages` and `apps` from `perSystem`
Checks are installed through `lefthook`, with `pre-commit` and `pre-push` commands configured to run in parallel.
repo-lib also sets Lefthook `output = [ "failure" "summary" ]` by default.
For advanced Lefthook features, use raw `config.lefthook` or `perSystem.lefthook`. Those attrsets are merged after generated checks, so you can augment a generated command with fields that the simple `checks` abstraction does not carry, such as `stage_fixed`: