mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
[Backport release-25.05] tokei: fix failed downcast to NumberFormatStyle when parsing argument (#415114)
This commit is contained in:
commit
9858e0ab14
1 changed files with 9 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
|
fetchpatch2,
|
||||||
libiconv,
|
libiconv,
|
||||||
zlib,
|
zlib,
|
||||||
}:
|
}:
|
||||||
|
@ -18,6 +19,14 @@ rustPlatform.buildRustPackage rec {
|
||||||
sha256 = "sha256-jCI9VM3y76RI65E5UGuAPuPkDRTMyi+ydx64JWHcGfE=";
|
sha256 = "sha256-jCI9VM3y76RI65E5UGuAPuPkDRTMyi+ydx64JWHcGfE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch2 {
|
||||||
|
# https://github.com/XAMPPRocky/tokei/pull/1209
|
||||||
|
url = "https://github.com/XAMPPRocky/tokei/commit/ce8d8535276a2e41878981a8199232986ab96c6b.patch";
|
||||||
|
hash = "sha256-1tb+WmjVsTxs8Awf1mbKOBIhJ3ddoOT8ZjBKA2BMocg=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-LzlyrKaRjUo6JnVLQnHidtI4OWa+GrhAc4D8RkL+nmQ=";
|
cargoHash = "sha256-LzlyrKaRjUo6JnVLQnHidtI4OWa+GrhAc4D8RkL+nmQ=";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue