From 6da0c4d6b0340f7763d39e47d1948199c8da682c Mon Sep 17 00:00:00 2001 From: rafaelrc7 Date: Wed, 8 Oct 2025 16:19:01 -0300 Subject: [PATCH] typos: 1.35.6 -> 1.38.1 --- pkgs/by-name/ty/typos/package.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ty/typos/package.nix b/pkgs/by-name/ty/typos/package.nix index 4db0bec0d93e..b640031a3eca 100644 --- a/pkgs/by-name/ty/typos/package.nix +++ b/pkgs/by-name/ty/typos/package.nix @@ -8,19 +8,27 @@ rustPlatform.buildRustPackage rec { pname = "typos"; - version = "1.35.6"; + version = "1.38.1"; src = fetchFromGitHub { owner = "crate-ci"; repo = "typos"; tag = "v${version}"; - hash = "sha256-THkmrZJt5+qtaErqceG9dppo0LPNq6fHdvLAHmie3/o="; + hash = "sha256-xr3k3wx9EWKm00kt1GxE31Mw5wa3N3VJJCKaUbQa4ic="; }; - cargoHash = "sha256-V/OYr+XWSP43O2ShVpd9n0i/D3BW3qjkoOgZNj/+H40="; + cargoHash = "sha256-2XgnCXYqBvx7LRWaPt4iXznIXIEzYBlWMXbwEVZyGA8="; passthru.updateScript = nix-update-script { }; + preCheck = '' + export LC_ALL=C.UTF-8 + ''; + + postCheck = '' + unset LC_ALL + ''; + nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; versionCheckProgramArg = "--version";