nvim-neorocks / rocks.nvim

Neovim plugin management inspired by Cargo, powered by luarocks
GNU General Public License v3.0
344 stars 6 forks source link

luarocks installed with an error on android (Termux Environment) #208

Closed amsitlab closed 5 days ago

amsitlab commented 1 month ago

luarocks has been installed on ~/.local/share/nvim/rocks by typing nvim -u NORC -c "source installer.lua with following an error for next execution FYI: luarocks for termux have an patch for their environment please see here for details if rocks.nvim want to support neovim user on android thanks

mrcjkb commented 1 month ago

Hey 👋

Wow, that's an interesting use case we definitely hadn't thought of yet.

We can look into it, but I'm sure there will be some more issues down the line. rocks.nvim depends on toml-edit, which requires a rust toolchain to compile.

We currently provide binary rocks for linux-x86_64, macos-x86_64, macos-aarch64 and win32-x86_64 (built on GitHub hosted runners). As GitHub doesn't support linux-aarch64, we would have to set up a self-hosted runner for it (This could be a viable option).

amsitlab commented 1 month ago

We can look into it, but I'm sure there will be some more issues down the line. rocks.nvim depends on toml-edit, which requires a rust toolchain to compile.

Don't worry about that, Termux have rust package on their repository

mrcjkb commented 1 month ago

I don't think the rocks.nvim install script applying the termux patches is a viable option. But I believe you should be able to install rocks.nvim if you have luarocks installed, and deselect the "Set up luarocks" option in the installer?

Maybe it's also a good idea to deselect the option by default if we can detect a correctly configured installation.

mrcjkb commented 5 days ago

Closing, as it's not feasible for us to support termux. See the manual installation guide in the wiki.