Skip to content

Update nix fmt man page with official formatter example #13014

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jfly
Copy link
Contributor

@jfly jfly commented Apr 13, 2025

(ping @NixOS/nix-formatting)

Note: I'm opening this as a draft because it links to documentation on nix.dev that has not been merged/deployed yet: NixOS/nix.dev#1129

The current example relies upon nixfmt's deprecated tree traversal behavior. The simplest alternative is the new nixfmt-tree wrapper for nixfmt/treefmt.

The current example relies upon [nixfmt's deprecated tree traversal
behavior](NixOS/nixfmt#240). The simplest
alternative is the new `nixfmt-tree` wrapper for `nixfmt`/`treefmt`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation new-cli Relating to the "nix" command
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant