diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-03-04 11:10:11 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-03-04 11:10:11 +0200 |
commit | f19e539c3e7f9df06f413eeb9439925dedf03715 (patch) | |
tree | 29e45492fee6af92fa468545434444dbf0039e8d /gnu/packages | |
parent | 90d64d9ca9b6940dc8ab0ea811d091e27f57552e (diff) | |
download | guix-patches-f19e539c3e7f9df06f413eeb9439925dedf03715.tar guix-patches-f19e539c3e7f9df06f413eeb9439925dedf03715.tar.gz |
gnu: vim-neosnippet: Use copy-build-system.
* gnu/packages/vim.scm (vim-neosnippet)[build-system]: Switch to
copy-build-system.
[arguments]: Adjust accordingly.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/vim.scm | 37 |
1 files changed, 10 insertions, 27 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 54c9c5eaca..7588d9cbbd 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -350,34 +350,17 @@ you can fill in on the fly.") (sha256 (base32 "0k80syscmpnj38ks1fq02ds59g0r4jlg9ll7z4qc048mgi35alw5")))) - (build-system gnu-build-system) + (build-system copy-build-system) (arguments - `(#:tests? #f - #:phases - (modify-phases %standard-phases - (delete 'configure) - (delete 'build) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (vimfiles (string-append out "/share/vim/vimfiles")) - (autoload (string-append vimfiles "/autoload")) - (doc (string-append vimfiles "/doc")) - (ftdetect (string-append vimfiles "/ftdetect")) - (ftplugin (string-append vimfiles "/ftplugin")) - (indent (string-append vimfiles "/indent")) - (plugin (string-append vimfiles "/plugin")) - (rplugin (string-append vimfiles "/rplugin")) - (syntax (string-append vimfiles "/syntax"))) - (copy-recursively "autoload" autoload) - (copy-recursively "doc" doc) - (copy-recursively "ftdetect" ftdetect) - (copy-recursively "ftplugin" ftplugin) - (copy-recursively "indent" indent) - (copy-recursively "plugin" plugin) - (copy-recursively "rplugin" rplugin) - (copy-recursively "syntax" syntax) - #t)))))) + '(#:install-plan + '(("autoload" "share/vim/vimfiles/") + ("doc" "share/vim/vimfiles/") + ("ftdetect" "share/vim/vimfiles/") + ("ftplugin" "share/vim/vimfiles/") + ("indent" "share/vim/vimfiles/") + ("plugin" "share/vim/vimfiles/") + ("rplugin" "share/vim/vimfiles/") + ("syntax" "share/vim/vimfiles/")))) (synopsis "Snippet support for Vim") (description "@code{neosnippet}, is a plugin for Vim which adds snippet support to Vim. |