From d281e4e22770b42707a88725a668965b18af5df0 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Wed, 4 Feb 2026 23:04:18 +1100 Subject: 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 --- gnu/packages/vim.scm | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 685558c268f..faa67078249 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 -- cgit v1.3