Neovim build missing luajit support

  • Open
  • quality assurance status badge
Details
3 participants
  • bdju
  • Jack Hill
  • raingloom
Owner
unassigned
Submitted by
bdju
Severity
normal
Merged with
B
(address . bug-guix@gnu.org)
CFE5WFU0R861.3UD7I8KK1LMYD@masaki
I'm hitting this issue in Neovim after installing nvim-colorizer.
Supposedly the ffi.lua file it says is missing should be built-in. Some
people had issues on a couple distros that seems to build Neovim without
luajit, and then fixed it by building it differently. Could we enable
luajit in the guix recipe so it's built with it? It sounds like most
distros probably enable it, and that the Neovim devs intend it to be
enabled.

Sidenote: the current recipe has a typo, "refirence", should be
"reference". It's in one of the comments.
J
J
Jack Hill wrote on 1 Nov 2021 05:53
neovim and luajit
(address . control@debbugs.gnu.org)
alpine.DEB.2.21.2111010051380.4243@marsh.hcoop.net
reassign 51537 guix-patches
merge 48109 51537

thanks

The only possible problem I see with using luajit is that it may not be
available on all the platforms that Lua 5.1 is. Perhaps this patch could
be conditioned on architecture.

Best,
Jack
R
R
raingloom wrote on 1 Nov 2021 13:38
Re: bug#51537: Neovim build missing luajit support
(address . bug-guix@gnu.org)(name . bdju)(address . bdju@tilde.team)
20211101133807.37d7edd2@riseup.net
On Sun, 31 Oct 2021 23:35:09 -0500
"bdju" via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

Toggle quote (15 lines)
> I'm hitting this issue in Neovim after installing nvim-colorizer.
> Supposedly the ffi.lua file it says is missing should be built-in.
> Some people had issues on a couple distros that seems to build Neovim
> without luajit, and then fixed it by building it differently. Could
> we enable luajit in the guix recipe so it's built with it? It sounds
> like most distros probably enable it, and that the Neovim devs intend
> it to be enabled.
>
> Sidenote: the current recipe has a typo, "refirence", should be
> "reference". It's in one of the comments.
>
>
>

Not the solution, just wanted to mention it: the ffi API is not
exclusive to LuaJIT.
?