nixfmt-rfc-style: 2024-08-16 -> 2024-11-26 (#359904)

Changes:
- https://github.com/NixOS/nixfmt/pull/233 and
  https://github.com/NixOS/nixfmt/pull/257 fix the poor formatting of
  `mkRenamedOptionModule` code.
- https://github.com/NixOS/nixfmt/pull/240 deprecates passing
  directories as CLI args, instead using
  [treefmt](https://github.com/numtide/treefmt) is recommended.
- https://github.com/NixOS/nixfmt/pull/246 fixes some problems with
  floats.
- https://github.com/NixOS/nixfmt/pull/247 fixes trailing spaces not
  always being stripped.
- https://github.com/NixOS/nixfmt/pull/248 ensures that the ownership of
  files isn't changed when formatting them.
- https://github.com/NixOS/nixfmt/pull/249 fixes some poor formatting of
  some attribute selections.
- https://github.com/NixOS/nixfmt/pull/262 ensures that 64-bit integers
  don't get trimmed on 32-bit platforms.
- https://github.com/NixOS/nixfmt/pull/264 adds a `--filename` flag to
  allow setting the filename in error messages when formatting standard input.
- https://github.com/NixOS/nixfmt/pull/243 added
  [installation and integration docs](https://github.com/NixOS/nixfmt?tab=readme-ov-file#installation-and-usage-instructions).
- https://github.com/NixOS/nixfmt/pull/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/)
This commit is contained in:
Silvan Mosberger 2024-11-28 21:45:40 +01:00 committed by GitHub
parent e72faf8015
commit edd47f7c85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
2024-08-16
2024-11-26

View File

@ -9,8 +9,8 @@ mkDerivation {
pname = "nixfmt";
version = "0.6.0";
src = fetchzip {
url = "https://github.com/nixos/nixfmt/archive/14be7e665024f1a8c31d748b22f5e215856d3479.tar.gz";
sha256 = "017a1069sy4bhc2wchgd5hl6c106spf0zq5dcg65mf4flba1xs0j";
url = "https://github.com/nixos/nixfmt/archive/cb92834560306868e4020dd643f09482587c6e7a.tar.gz";
sha256 = "0fg2mdjny6i90bivw5d4wxl522azmcmikcak2ffgrq69qhjv21f6";
};
isLibrary = true;
isExecutable = true;
@ -20,7 +20,7 @@ mkDerivation {
];
executableHaskellDepends = [
base bytestring cmdargs directory file-embed filepath
safe-exceptions text unix
safe-exceptions text transformers unix
];
jailbreak = true;
homepage = "https://github.com/NixOS/nixfmt";