Robert Hensing
Robert Hensing
Fixed the link.
It's actually in a good state since the latest iteration. The remaining items weren't at all necessary and I've already incorporated feedback from Jonas.
Rebased, ready and green :)
tldr; supported hooks: requires change, local hooks: already possible ### supported hooks Looks like you want to add hooks from pre-commit's standard repo https://github.com/pre-commit/pre-commit-hooks This possibility is not properly exposed...
It's unused. You can follow `pass_filenames` as an example.
This could be a new option, to make the shellHook only write the symlink but not invoke pre-commit.
I'd be perfectly happy to require the YAML to be JSON and DRY it with `builtins.fromJSON`. (as an alternative, not everyone likes JSON)
Even better: generate a YAML from with builtins.toJSON. Best: use the module system.
If this is about download size, I wrote a thing https://github.com/roberth/nix-lazy-env
With the module system you get - type checking, improving error messages - a framework for documentation - configurations merging and overrides, so you can have defaults for your team...