git-hooks.nix
git-hooks.nix copied to clipboard
Seamless integration of https://pre-commit.com git hooks with Nix.
It would be nice to have support for stan. See https://github.com/kowainik/stan
Whether through passing in your own nixpkgs, sources.json, or otherwise, it would be nice to be able to influence the versions of tooling chosen, without having to fork the project....
https://github.com/numtide/devshell/pull/13 `devshell enter` is a go cli tool that bring nix dev shell to the masses. pre-commit is already widely adopted by those target masses. There should be a way...
Knowing pre-commit a fair bit, bit not beeing a nix expert, I found it extremely hard to reason about the structure and inner workings of this tool. Traditional `grep` technics...
Something like: ```nix nix-pre-commit-hooks.run { src = gitignoreSource ./.; hooks = ["shellcheck"]; } ```
For example everything from https://github.com/cachix/pre-commit-hooks.nix/issues?utf8=%E2%9C%93&q=+author%3APierreR
https://github.com/NixOS/nixpkgs/pull/70138 Note that type checking must be delayed until use. - [ ] confirm that performance remains the same
To prevent having to use IFD using `callCabal2nix`, it would be nice if there was a hook that would run `cabal2nix` on each cabal file it finds to generate a...