guix_mirror_bot pushed a commit to branch lua-team
in repository guix.

commit 1f5bb459e2fff5d8c6898bdb936565477ee1d8f9
Author: Carlo Zancanaro <[email protected]>
AuthorDate: Wed Feb 4 23:04:18 2026 +1100

    gnu: neovim: Remove set-lua-paths phase.
    
    * gnu/packages/vim.scm (neovim)[arguments]<#:phases>: Remove set-lua-paths.
    
    Change-Id: I9ad13c5b00a65ab047cfbe6c909e6c05b8b15af5
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/vim.scm | 30 ------------------------------
 1 file changed, 30 deletions(-)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 685558c268..faa6707824 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -803,36 +803,6 @@ is based on Vim's builtin plugin support.")
                           '("-DPREFER_LUA:BOOL=YES")))
            #:phases
            #~(modify-phases %standard-phases
-               (add-after 'unpack 'set-lua-paths
-                 (lambda* _
-                   (let* ((lua-version "5.1")
-                          (lua-cpath-spec (lambda (prefix)
-                                            (let ((path (string-append
-                                                         prefix
-                                                         "/lib/lua/"
-                                                         lua-version)))
-                                              (string-append
-                                               path
-                                               "/?.so;"
-                                               path
-                                               "/?/?.so"))))
-                          (lua-path-spec (lambda (prefix)
-                                           (let ((path (string-append prefix
-                                                        "/share/lua/"
-                                                        lua-version)))
-                                             (string-append path "/?.lua;"
-                                                            path "/?/?.lua"))))
-                          (lua-inputs (list (or #$(this-package-input "lua")
-                                                #$(this-package-input 
"luajit"))
-                                            #$lua5.1-luv
-                                            #$lua5.1-lpeg
-                                            #$lua5.1-bitop
-                                            #$lua5.1-libmpack)))
-                     (setenv "LUA_PATH"
-                             (string-join (map lua-path-spec lua-inputs) ";"))
-                     (setenv "LUA_CPATH"
-                             (string-join (map lua-cpath-spec lua-inputs) ";"))
-                     #t)))
                (add-after 'unpack 'prevent-embedding-gcc-store-path
                  (lambda _
                    ;; nvim remembers its build options, including the compiler 
with

Reply via email to