rocks.nvim
rocks.nvim copied to clipboard
AUR install script
(Even though I haven't used Arch in years), it might be nice to provide an AUR PKGBUILD for installing rocks.nvim, along with all of its dependencies.
The same could be done for other package managers, like homebrew.
I see that the current packager-agnostic installation script installs "rocks-binaries" from github.io. Should the PKGBUILD install rocks-nvim
from
- github.io
- github source (eg
source=("git+$url.git#tag=v$pkgver")
) - luarocks through the prexisting luarocks in the system (assuming luarocks is a dependency of nvim-rocks package
IME, aur packages tend to stick with (2) and I would prefer github as the source myself. The current install script prompts the user for a rocks install path defaulted to $XDG_DATA_HOME/nvim/rocks
and asks whether to setup luarocks. I think the aur package should simply have luarocks as a dependency and assume $XDG_DATA_HOME/nvim/rocks
because that's nvim standard.
Also why don't we use the neovim standard path site/pack
?
I don't use arch personally, so this isn't high priority for me right now. It's just an idea. But your notes seem helpful, thanks 🙏
Also why don't we use the neovim standard path site/pack?
Because rocks.nvim is a luarocks package and luarocks packages don't have a flat install hierarchy.