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

Changed files
+20 -3
pkgs
applications
editors
vim
plugins
non-generated
LanguageClient-neovim
+5 -3
pkgs/applications/editors/vim/plugins/non-generated/LanguageClient-neovim/default.nix
···
pname = "LanguageClient-neovim-bin";
inherit version src;
-
cargoHash = "sha256-1tfeowqvjEjMXIfrhr388YhlZrk3ns+Y/2odQnkLw7k=";
+
cargoPatches = [
+
./traitobject.patch
+
];
+
+
cargoHash = "sha256-43alR84MktYTmsKeUMm4gK8AjUIkGqcsuFeQPusBKD0=";
};
in
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;
};
}
+15
pkgs/applications/editors/vim/plugins/non-generated/LanguageClient-neovim/traitobject.patch
···
+
--- 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"
+