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>
This commit is contained in:
Maxime Devos 2021-05-25 15:41:15 +02:00 committed by Mathieu Othacehe
parent f5f78d0d02
commit 09be86744f
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -695,7 +695,7 @@ (define-public neovim
(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"