Migrate to nixfmt #1332

Closed
opened 2024-05-31 20:00:39 +02:00 by rohaquinlop · 1 comment
rohaquinlop commented 2024-05-31 20:00:39 +02:00 (Migrated from github.com)

nixfmt will form the basis for the initial official standard Nix formatter, as established by RFC 166. We should migrate from Alejandra to nixfmt

[nixfmt](https://github.com/NixOS/nixfmt) will form the basis for the initial official standard Nix formatter, as established by [RFC 166](https://github.com/NixOS/rfcs/pull/166). We should migrate from `Alejandra` to `nixfmt`
blotero commented 2024-06-17 23:15:16 +02:00 (Migrated from github.com)

nixfmt can only fail when the check flag is used, CI systems which rely on a job with the /formatNix builtin would not fail under non compliant nix code. Is this intentional?

https://github.com/NixOS/nixfmt/blob/master/main/Main.hs#L59

`nixfmt` can only fail when the `check` flag is used, CI systems which rely on a job with the /formatNix builtin would not fail under non compliant nix code. Is this intentional? https://github.com/NixOS/nixfmt/blob/master/main/Main.hs#L59
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
justin/makes#1332
No description provided.