gnu: vim-scheme: Use copy-build-system.
* gnu/packages/vim.scm (vim-scheme)[build-system]: Switch to copy-build-system. [arguments]: Adjust accordingly.master
parent
f19e539c3e
commit
0db06e7da9
|
@ -389,24 +389,12 @@ trouble using them, because you do not have to remember each snippet name.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1ynjr1109dxgj0lz261gmzz3wf5ap1m6j6hnvl3lcyv66a4y8pjv"))))
|
"1ynjr1109dxgj0lz261gmzz3wf5ap1m6j6hnvl3lcyv66a4y8pjv"))))
|
||||||
(build-system gnu-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f
|
'(#:install-plan
|
||||||
#:phases
|
'(("after" "share/vim/vimfiles/")
|
||||||
(modify-phases %standard-phases
|
("ftplugin" "share/vim/vimfiles/")
|
||||||
(delete 'configure)
|
("syntax" "share/vim/vimfiles/"))))
|
||||||
(delete 'build)
|
|
||||||
(replace 'install
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
|
||||||
(vimfiles (string-append out "/share/vim/vimfiles"))
|
|
||||||
(after (string-append vimfiles "/after"))
|
|
||||||
(syntax (string-append vimfiles "/syntax"))
|
|
||||||
(ftplugin (string-append vimfiles "/ftplugin")))
|
|
||||||
(copy-recursively "after" after)
|
|
||||||
(copy-recursively "ftplugin" ftplugin)
|
|
||||||
(copy-recursively "syntax" syntax)
|
|
||||||
#t))))))
|
|
||||||
(synopsis "Scheme syntax for Vim")
|
(synopsis "Scheme syntax for Vim")
|
||||||
(description
|
(description
|
||||||
"@code{vim-scheme} provides Scheme support for Vim (R7RS and CHICKEN).")
|
"@code{vim-scheme} provides Scheme support for Vim (R7RS and CHICKEN).")
|
||||||
|
|
Reference in New Issue