DISCOVERED IN HACKER NEWS
Git hooks.nix
Git hooks.nix: a product linked in Hacker News recommendation discussions.
Developer tools
1Recommendation signals
1Sources
2025-02-18Latest mention
Why does HN talk about it?
Automatically selected excerpts in their original language. Read the full discussion for context.
I use https://github.com/cachix/git-hooks.nix 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 https://github.com/srid/haskell-template The pre-commit configuration: https://github.com/srid/haskell-template/blob/master/nix/mod...Read the full discussion