FICHA · AUR

nixpkgs-fmt

Nix code formatter for nixpkgs

  • formatter
  • CLI
  • EDITOR-INTEGRATION
  • Launchable
  • Runs in terminal
official+codex · reviewed · Jun 2, 2026 description in en

Description

Nix package expressions can be formatted in the style expected by nixpkgs. It is useful for contributors and maintainers who want patches to follow the repository formatting conventions.

Use it from a terminal or editor before reviewing changes. It rewrites formatting, so run it on tracked files when possible and review the diff before submitting.

How to run

nixpkgs-fmt

Commands: nixpkgs-fmt

Permissions

Permissions not analysed for this source yet.