Skip to content

[Backport release-24.11] nixfmt-rfc-style: 2024-08-16 -> 2024-11-26#359955

Merged
infinisil merged 1 commit intorelease-24.11from
backport-359904-to-release-24.11
Nov 29, 2024
Merged

[Backport release-24.11] nixfmt-rfc-style: 2024-08-16 -> 2024-11-26#359955
infinisil merged 1 commit intorelease-24.11from
backport-359904-to-release-24.11

Conversation

@github-actions
Copy link
Contributor

Bot-based backport to release-24.11, triggered by a label in #359904.

  • Before merging, ensure that this backport is acceptable for the release.
    • Even as a non-commiter, if you find that it is not acceptable, leave a comment.

Changes:
- NixOS/nixfmt#233 and
  NixOS/nixfmt#257 fix the poor formatting of
  `mkRenamedOptionModule` code.
- NixOS/nixfmt#240 deprecates passing
  directories as CLI args, instead using
  [treefmt](https://github.com/numtide/treefmt) is recommended.
- NixOS/nixfmt#246 fixes some problems with
  floats.
- NixOS/nixfmt#247 fixes trailing spaces not
  always being stripped.
- NixOS/nixfmt#248 ensures that the ownership of
  files isn't changed when formatting them.
- NixOS/nixfmt#249 fixes some poor formatting of
  some attribute selections.
- NixOS/nixfmt#262 ensures that 64-bit integers
  don't get trimmed on 32-bit platforms.
- NixOS/nixfmt#264 adds a `--filename` flag to
  allow setting the filename in error messages when formatting standard input.
- NixOS/nixfmt#243 added
  [installation and integration docs](https://github.com/NixOS/nixfmt?tab=readme-ov-file#installation-and-usage-instructions).
- NixOS/nixfmt#238 created a
  [`.pre-commit-hooks.yaml`](https://github.com/NixOS/nixfmt/blob/master/.pre-commit-hooks.yaml)
  for integration with [pre-commit](https://pre-commit.com/)

(cherry picked from commit edd47f7)
@infinisil infinisil merged commit 1509fda into release-24.11 Nov 29, 2024
@infinisil infinisil deleted the backport-359904-to-release-24.11 branch November 29, 2024 13:10
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

Successfully merging this pull request may close these issues.

1 participant