zlacker

[parent] [thread] 0 comments
1. srid+(OP)[view] [source] 2025-02-17 20:25:55
I use https://github.com/cachix/git-hooks.nix which provides all of it:

- Pre-commit hook setup

- Run locally anytime (`pre-commit run -a`)

- Check in CI (as Nix flake check)

Example repo: https://github.com/srid/haskell-template

The pre-commit configuration: https://github.com/srid/haskell-template/blob/master/nix/mod...

[go to top]