From eea95ade77aabd0528043a68fee4d2c45a334602 Mon Sep 17 00:00:00 2001 From: Jack Hill Date: Thu, 22 Apr 2021 01:17:56 -0400 Subject: [PATCH] gnu: neovim: Use luajit. * gnu/packages/vim.scm (neovim)[inputs]: Replace lua-5.1 with luajit. [arguments]: Remove "-DPREFER_LUA:BOOL=YES" from #:configure-flags, and adjust "set-lua-paths" phase to use luajit. --- gnu/packages/vim.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 231fae9298..35608a2220 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -643,7 +643,6 @@ are detected, the user is notified."))) `(#:modules ((srfi srfi-26) (guix build cmake-build-system) (guix build utils)) - #:configure-flags '("-DPREFER_LUA:BOOL=YES") #:phases (modify-phases %standard-phases (add-after 'unpack 'set-lua-paths @@ -658,7 +657,7 @@ are detected, the user is notified."))) (let ((path (string-append prefix "/share/lua/" lua-version))) (string-append path "/?.lua;" path "/?/?.lua")))) (lua-inputs (map (cute assoc-ref %build-inputs <>) - '("lua" + '("luajit" "lua-luv" "lua-lpeg" "lua-bitop" @@ -684,7 +683,7 @@ are detected, the user is notified."))) ("unibilium" ,unibilium) ("jemalloc" ,jemalloc) ("libiconv" ,libiconv) - ("lua" ,lua-5.1) + ("luajit" ,luajit) ("lua-luv" ,lua5.1-luv) ("lua-lpeg" ,lua5.1-lpeg) ("lua-bitop" ,lua5.1-bitop) -- 2.31.1