Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 3, 2026

This PR contains the following updates:

Package Update Change
nixfmt major v0.6.0v1.2.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

NixOS/nixfmt (nixfmt)

v1.2.0

Compare Source

  • Reformat indented strings, reformatting to simple strings when appropriate: #​348
  • Added musl static build and nixfmt-static package: #​349
  • Added auto-release GitHub Actions workflow: #​354
  • Fixed empty lists/sets with comments idempotency: #​363
  • Fixed language annotations inside lists on function arguments: #​355
  • Fixed parser for chained prefix operators: #​352
  • Fixed inconsistent comment indentation in parameter lists: #​346
  • Fixed language annotations followed by multiple new lines: #​347
  • Memory optimization: don't retain thunks when appending to Trivia: #​350
  • Added a flake formatter (so nix fmt works): #​357
  • Added link to standard.md in README: #​361
  • Fixed typo in README for nixfmt installation: #​345

v1.1.0

Compare Source

  • Added support for "language annotation" comments (e.g. /* lang */ ""), used by things like tree-sitter grammars: #​343
  • Fixed a regression causing incorrect path value indentation: #​342

v1.0.1

Compare Source

  • Fix bug where --ir would overwrite the source file: #​322
  • Fix pre-commit hook so it works without cabal: #​311

v1.0.0

Compare Source

The Nix Formatting Team is happy to present the first stable release of the official Nix formatter! The basis for this milestone is RFC 166, which defined the standard for Nix formatting, established the Nix Formatting team and set the groundwork for nixfmt to become the official formatter.

Given that, this release is significantly different from the previous one:

  • How Nix is formatted completely changed and is unrecognisable from previous versions, fixing many issues with the old formatting in the process. It would be pointless to try to list all the differences, just think of it as an entirely new formatting.
  • This project graduated from a Serokell project to an official Nix project, with a repository under the NixOS org and a community-based Nix formatting team as maintainers.

Other than the above, there are some notable UX changes:

  • Deprecate nixfmt [dir] for recursively formatting a directory again. Please use the new pkgs.nixfmt-tree wrapper instead, or https://github.com/numtide/treefmt-nix for more flexibility, see the docs for more options.
  • More complete usage documentation.
  • CLI changes:
    • In stdin-mode, --filename <path> can now be used to specify a filename for diagnostics.
    • Number of indendation spaces can now be configured using --indent <number>

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled because a matching PR was automerged previously.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@williambotman williambotman requested a review from a team January 3, 2026 08:02
@renovate renovate bot force-pushed the renovate/nixfmt-1.x branch from d507f03 to 2a029ad Compare January 9, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant