gnu: vim-vader: Use vim-build-system.
* gnu/packages/vim.scm (vim-vader)[build-system]: Switch to the vim-build-system. [arguments]: Remove install-plan. Add plugin-name. (vim-coqtail)[arguments]: Adjust reference to vim-vader. Change-Id: I8210054e062b608706ee37a77f60969948b1c3b5
This commit is contained in:
parent
25b9d6c149
commit
18c3d347f5
1 changed files with 5 additions and 10 deletions
|
@ -492,8 +492,9 @@ trouble using them, because you do not have to remember each snippet name.")
|
||||||
(display "Running Vim unit tests.\n")
|
(display "Running Vim unit tests.\n")
|
||||||
(let* ((vim-vader (assoc-ref (or native-inputs inputs)
|
(let* ((vim-vader (assoc-ref (or native-inputs inputs)
|
||||||
"vim-vader"))
|
"vim-vader"))
|
||||||
(vader-path (string-append vim-vader
|
(vader-path (string-append
|
||||||
"/share/vim/vimfiles")))
|
vim-vader
|
||||||
|
"/share/vim/vimfiles/pack/guix/start/vader")))
|
||||||
(with-directory-excursion "tests/vim"
|
(with-directory-excursion "tests/vim"
|
||||||
(setenv "VADER_PATH" vader-path)
|
(setenv "VADER_PATH" vader-path)
|
||||||
(invoke "vim" "-E" "-Nu" "vimrc"
|
(invoke "vim" "-E" "-Nu" "vimrc"
|
||||||
|
@ -1505,15 +1506,9 @@ operations are available for most filetypes.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"179dbbqdyl6qf6jdb6kdazn3idz17m1h2n88rlggb1wnly74vjin"))))
|
"179dbbqdyl6qf6jdb6kdazn3idz17m1h2n88rlggb1wnly74vjin"))))
|
||||||
(build-system copy-build-system)
|
(build-system vim-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:install-plan
|
'(#:plugin-name "vader"
|
||||||
'(("autoload" "share/vim/vimfiles/")
|
|
||||||
("doc" "share/vim/vimfiles/")
|
|
||||||
("ftdetect" "share/vim/vimfiles/")
|
|
||||||
("ftplugin" "share/vim/vimfiles/")
|
|
||||||
("plugin" "share/vim/vimfiles/")
|
|
||||||
("syntax" "share/vim/vimfiles/"))
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'install 'check
|
(add-before 'install 'check
|
||||||
|
|
Reference in a new issue