Skip to content
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

Use a standard Nix formatter as the default formatter #75

Open
deemp opened this issue Feb 3, 2024 · 1 comment
Open

Use a standard Nix formatter as the default formatter #75

deemp opened this issue Feb 3, 2024 · 1 comment

Comments

@deemp
Copy link
Contributor

deemp commented Feb 3, 2024

Depends on NixOS/rfcs#166.

TL; DR: Some day, there will be a standard Nix formatter. Here are some reasons to switch from alejandra to that formatter (#71 (comment)).

@deemp deemp changed the title Use nixmft as the default formatter Use a standard Nix formatter as the default formatter Feb 3, 2024
@deemp
Copy link
Contributor Author

deemp commented Mar 2, 2024

Seems like we now have such a standard formatter.

https://discourse.nixos.org/t/call-for-testing-nix-formatter/39179

https://github.com/NixOS/nixpkgs/blob/226e757f5ffba5abada467e02331192aebfda2d5/pkgs/by-name/ni/nixfmt-rfc-style/generated-package.nix#L4

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

No branches or pull requests

1 participant