From ea4fdaf449ad285dcc925642ca9b8b950e7508dc Mon Sep 17 00:00:00 2001 From: natsukium Date: Sun, 11 May 2025 15:22:35 +0900 Subject: [PATCH] python3Packages.sudachipy: fix build --- pkgs/development/python-modules/sudachipy/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/sudachipy/default.nix b/pkgs/development/python-modules/sudachipy/default.nix index 3b700c0d95b9..70ca416469a9 100644 --- a/pkgs/development/python-modules/sudachipy/default.nix +++ b/pkgs/development/python-modules/sudachipy/default.nix @@ -18,9 +18,12 @@ buildPythonPackage rec { pname = "sudachipy"; inherit (sudachi-rs) src version; + patches = sudachi-rs.cargoPatches; + cargoDeps = rustPlatform.fetchCargoVendor { inherit pname version src; - hash = "sha256-/VKveTtB8BbWgRBEzWBjrSrW84uFcz08cz6tZTuMMeE="; + patches = sudachi-rs.cargoPatches; + hash = "sha256-lUP/9s4W0JehxeCjMmq6G22KMGdDNnq1YlobeLQn2AE="; }; nativeBuildInputs = [