git-hooks.nix
git-hooks.nix copied to clipboard
Replace pre-commit with prek
Have a look at https://github.com/j178/prek is a RiiR of pre-commit so the module does not require api changes.
I'd love that! If someone can make a PR we'll test it out :)
I'll give it a try after https://github.com/NixOS/nixpkgs/pull/436754 gets merged.
Merged!
I saw it, this week I'm far from my laptop (visiting Valencia) next week I'll try. Should I replace pre-commit fully or fallback to it if I can't find prek in nixpkgs?
We should fallback until nixos stable catches up