cachix / git-hooks.nix

Seamless integration of https://pre-commit.com git hooks with Nix.
Apache License 2.0
506 stars 153 forks source link

nixfmt: deprecate `nixfmt` and redirect to `nixfmt-classic` or `nixfmt-rfc-style` #493

Closed sandydoo closed 3 weeks ago

sandydoo commented 1 month ago

Final bit of migration for #492.

{ 
  # The existing hook is deprecated
  hooks.nixfmt.enable = true;

  # and should be changed to
  hooks.nixfmt-classic.enable = true;
  # or
  hooks.nixfmt-rfc-style.enable = true;
}