guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/07: gnu: neovim: Use 'inputs' in phases instead of '%build-inputs'.


From: guix-commits
Subject: 03/07: gnu: neovim: Use 'inputs' in phases instead of '%build-inputs'.
Date: Fri, 4 Jun 2021 07:45:50 -0400 (EDT)

mothacehe pushed a commit to branch master
in repository guix.

commit 09be86744f296b54680755fd873c22602b739ad8
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Tue May 25 15:41:15 2021 +0200

    gnu: neovim: Use 'inputs' in phases instead of '%build-inputs'.
    
    In build phases, the former is preferred.
    
    * gnu/packages/vim.scm
      (neovim)[arguments]<#:phases>{set-lua-path}: Use 'inputs'
      argument instead of '%build-inputs'.
    
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 gnu/packages/vim.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index ebab790..238c25d 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -695,7 +695,7 @@ are detected, the user is notified.")))
                      (lambda (prefix)
                        (let ((path (string-append prefix "/share/lua/" 
lua-version)))
                          (string-append path "/?.lua;" path "/?/?.lua"))))
-                    (lua-inputs (map (cute assoc-ref %build-inputs <>)
+                    (lua-inputs (map (cute assoc-ref inputs <>)
                                      '("lua"
                                        "lua-luv"
                                        "lua-lpeg"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]