mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-12-04 03:40:18 +00:00
luaPackages.rustaceanvim: 9.2.1-2 -> 9.2.2-2
This commit is contained in:
@@ -5974,21 +5974,21 @@ final: prev: {
|
||||
}:
|
||||
buildLuarocksPackage {
|
||||
pname = "rustaceanvim";
|
||||
version = "9.2.1-2";
|
||||
version = "9.2.2-2";
|
||||
knownRockspec =
|
||||
(fetchurl {
|
||||
url = "mirror://luarocks/rustaceanvim-9.2.1-2.rockspec";
|
||||
sha256 = "10icfi38z1qx9ma7ixj3j3cbkfsfhnbw3zhwjab6p0cv0287yv7p";
|
||||
url = "mirror://luarocks/rustaceanvim-9.2.2-2.rockspec";
|
||||
sha256 = "0kar2pgkb0ijbgn8qqz0hb0ykydvpg5i79mc3889jc7h8vmqhba4";
|
||||
}).outPath;
|
||||
src = fetchzip {
|
||||
url = "https://github.com/mrcjkb/rustaceanvim/archive/refs/tags/v9.2.1.zip";
|
||||
sha256 = "182z9nqjd5ycbq0fij2xdwbq2b5xr51wckcks50aiwim31cr52br";
|
||||
url = "https://github.com/mrcjkb/rustaceanvim/archive/refs/tags/v9.2.2.zip";
|
||||
sha256 = "1ygwwxd4vn6q0mi5qhyzaylq9jpyjqz9w29ck1xf4p58zbdk2ysw";
|
||||
};
|
||||
|
||||
disabled = lua.luaversion != "5.1";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/mrcjkb/rustaceanvim/archive/refs/tags/v9.2.1.zip";
|
||||
homepage = "https://github.com/mrcjkb/rustaceanvim/archive/refs/tags/v9.2.2.zip";
|
||||
maintainers = with lib.maintainers; [ mrcjkb ];
|
||||
license = lib.licenses.gpl2Only;
|
||||
description = "🦀 Supercharge your Rust experience in Neovim! A heavily modified fork of rust-tools.nvim";
|
||||
|
||||
@@ -49,6 +49,8 @@
|
||||
pkg-config,
|
||||
readline,
|
||||
ripgrep,
|
||||
rust-analyzer,
|
||||
rustc,
|
||||
rustPlatform,
|
||||
sqlite,
|
||||
tree-sitter,
|
||||
@@ -57,6 +59,7 @@
|
||||
util-linux,
|
||||
versionCheckHook,
|
||||
vimPlugins,
|
||||
vscode-extensions,
|
||||
yajl,
|
||||
zip,
|
||||
zlib,
|
||||
@@ -1183,14 +1186,25 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
rustaceanvim = prev.rustaceanvim.overrideAttrs {
|
||||
rustaceanvim = prev.rustaceanvim.overrideAttrs (old: {
|
||||
postPatch = (old.postPatch or "") + ''
|
||||
substituteInPlace spec/integration/lsp_spec.lua \
|
||||
--replace-fail '#[cfg(target_os = "linux")]' '#[cfg(any(target_os = "linux", target_os = "macos"))]'
|
||||
'';
|
||||
doCheck = lua.luaversion == "5.1";
|
||||
nativeCheckInputs = [
|
||||
final.nlua
|
||||
final.bustedCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
rust-analyzer
|
||||
cargo
|
||||
rustc
|
||||
vscode-extensions.vadimcn.vscode-lldb.adapter
|
||||
];
|
||||
};
|
||||
preCheck = ''
|
||||
LUA_PATH="${vimPlugins.nvim-dap}/lua/?.lua;${vimPlugins.nvim-dap}/lua/?/init.lua;$LUA_PATH"
|
||||
'';
|
||||
});
|
||||
|
||||
sofa = prev.sofa.overrideAttrs (old: {
|
||||
nativeBuildInputs = old.nativeBuildInputs ++ [
|
||||
|
||||
Reference in New Issue
Block a user