nixpkgs-fmt VS nixfmt

Compare nixpkgs-fmt vs nixfmt and see what are their differences.

nixpkgs-fmt

Nix code formatter for nixpkgs [maintainer=@zimbatm] (by nix-community)

nixfmt

The official (but not yet stable) formatter for Nix code (by NixOS)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
nixpkgs-fmt nixfmt
1 -
554 625
2.3% 11.2%
5.8 8.9
about 2 months ago 12 days ago
Rust Nix
Apache License 2.0 Mozilla Public License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nixpkgs-fmt

Posts with mentions or reviews of nixpkgs-fmt. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-25.
  • Editor support for the nix language?
    5 projects | /r/NixOS | 25 Nov 2022
    As others have mentioned, there are a couple of LSP implementations. There's also statix for basic static analysis, as well as a few formatters, including nixpkgs-fmt and alejandra.

nixfmt

Posts with mentions or reviews of nixfmt. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning nixfmt yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing nixpkgs-fmt and nixfmt you can also consider the following projects:

alejandra - The Uncompromising Nix Code Formatter

hlint - Haskell source code suggestions

nix-init - Generate Nix packages from URLs with hash prefetching, dependency inference, license detection, and more [maintainer=@figsoda]

markdown-unlit - Literate Haskell support for Markdown

treefmt - one CLI to format your repo

leksah - Haskell IDE

statix - lints and suggestions for the nix programming language

ihp - 🔥 The fastest way to build type safe web apps. IHP is a new batteries-included web framework optimized for longterm productivity and programmer happiness

devenv - Fast, Declarative, Reproducible, and Composable Developer Environments

marvin - The paranoid bot (framework)

nurl - Generate Nix fetcher calls from repository URLs [maintainer=@figsoda]

nix-mate - Installing stuff with Nix made easy