nvim-pack/nvim-spectre

Failed building spectre_oxi

mkubasz opened this issue · 3 comments

I have a problem while building spectre_oxi. This is when I updated today my LazyVim config. But found that this problem is aim with nvim-spectre.

Version:

LazyVim - newset
macos - 14.1 Sonoma
rustc 1.73.0 (cc66ad468 2023-10-03)

NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1697887905

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.4/share/nvim"

Screenshot 2023-11-03 at 09 47 18
Screenshot 2023-11-03 at 09 47 28

I had the same issue and I noticed that using the HEAD version of nvim-oxi allows to compile properly on Sonoma.

I patched ~/.local/share/lunarvim/site/pack/lazy/opt/nvim-spectre/spectre_oxi/Cargo.toml with this:

diff --git a/spectre_oxi/Cargo.toml b/spectre_oxi/Cargo.toml
index fbcce6d..b43b921 100644
--- a/spectre_oxi/Cargo.toml
+++ b/spectre_oxi/Cargo.toml
@@ -9,7 +9,7 @@ edition = "2021"
 crate-type = ["cdylib"]
 
 [dependencies]
-nvim-oxi = "0.1.3"
+nvim-oxi = { git = "https://github.com/noib3/nvim-oxi" }
 regex = "1.6.0"
 lazy_static = "1.4.0"
 

Can I close this? See #183

Works as it should 👯