Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-07-14 | 1.8 kB | |
v1.0.0 source code.tar.gz | 2025-07-14 | 199.3 kB | |
v1.0.0 source code.zip | 2025-07-14 | 359.6 kB | |
Totals: 3 Items | 560.7 kB | 5 |
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.
- A Git mergetool mode is now supported.
- 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>