Skip to content

Commit

Permalink
nixfmt-rfc-style: 2024-08-16 -> 2024-11-26 (NixOS#359904)
Browse files Browse the repository at this point in the history
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/)
  • Loading branch information
infinisil authored and mkg20001 committed Nov 30, 2024
1 parent 0934307 commit 06369ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkgs/by-name/ni/nixfmt-rfc-style/date.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024-08-16
2024-11-26
6 changes: 3 additions & 3 deletions pkgs/by-name/ni/nixfmt-rfc-style/generated-package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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";
Expand Down

0 comments on commit 06369ba

Please sign in to comment.