vimPlugins.LanguageClient-neovim: fix Rust build (#446294)

This commit is contained in:
Gaétan Lepage
2025-09-26 11:09:53 +00:00
committed by GitHub
2 changed files with 20 additions and 3 deletions
@@ -17,7 +17,11 @@ let
pname = "LanguageClient-neovim-bin";
inherit version src;
cargoHash = "sha256-1tfeowqvjEjMXIfrhr388YhlZrk3ns+Y/2odQnkLw7k=";
cargoPatches = [
./traitobject.patch
];
cargoHash = "sha256-43alR84MktYTmsKeUMm4gK8AjUIkGqcsuFeQPusBKD0=";
};
in
vimUtils.buildVimPlugin {
@@ -47,7 +51,5 @@ vimUtils.buildVimPlugin {
homepage = "https://github.com/autozimu/LanguageClient-neovim/";
changelog = "https://github.com/autozimu/LanguageClient-neovim/releases/tag/${src.tag}";
license = lib.licenses.mit;
# Rust build error
broken = true;
};
}
@@ -0,0 +1,15 @@
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1026,9 +1028,9 @@ dependencies = [
[[package]]
name = "traitobject"
-version = "0.1.0"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079"
+checksum = "04a79e25382e2e852e8da874249358d382ebaf259d0d34e75d8db16a7efabbc7"
[[package]]
name = "treediff"