From e56fd5c7dd43b1cbbb11bd3de89f53b243c39e3a Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 28 Nov 2024 21:45:40 +0100 Subject: [PATCH] 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/) --- pkgs/by-name/ni/nixfmt-rfc-style/date.txt | 2 +- pkgs/by-name/ni/nixfmt-rfc-style/generated-package.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ni/nixfmt-rfc-style/date.txt b/pkgs/by-name/ni/nixfmt-rfc-style/date.txt index 13c4c38590275..3dad4f57ae5d5 100644 --- a/pkgs/by-name/ni/nixfmt-rfc-style/date.txt +++ b/pkgs/by-name/ni/nixfmt-rfc-style/date.txt @@ -1 +1 @@ -2024-08-16 +2024-11-26 diff --git a/pkgs/by-name/ni/nixfmt-rfc-style/generated-package.nix b/pkgs/by-name/ni/nixfmt-rfc-style/generated-package.nix index 7a87d26cbf6d9..8383170af5531 100644 --- a/pkgs/by-name/ni/nixfmt-rfc-style/generated-package.nix +++ b/pkgs/by-name/ni/nixfmt-rfc-style/generated-package.nix @@ -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";