aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-04 11:41:11 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-03-04 11:41:11 +0200
commit0b350f73fe649575cfbc2215cc7bab8859184bc9 (patch)
treefc290de847e78d8034149e5809bdcb74eadc10e6 /gnu
parent84ec7b70090c7bf886cd9d023396d6d2e6e663fb (diff)
downloadguix-0b350f73fe649575cfbc2215cc7bab8859184bc9.tar
guix-0b350f73fe649575cfbc2215cc7bab8859184bc9.tar.gz
gnu: vim-context-filetype: Use copy-build-system.
* gnu/packages/vim.scm (vim-context-filetype)[build-system]: Switch to copy-build-system. [arguments]: Adjust accordingly.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/vim.scm19
1 files changed, 4 insertions, 15 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index ca39effd14..aa082d7652 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -444,22 +444,11 @@ trouble using them, because you do not have to remember each snippet name.")
(sha256
(base32
"0alvrfhmd91zkd9h83s8wvgyq4iakcf6rybsyjd369qbgpcqky89"))))
- (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"))
- (doc (string-append vimfiles "/doc"))
- (autoload (string-append vimfiles "/autoload")))
- (copy-recursively "doc" doc)
- (copy-recursively "autoload" autoload)
- #t))))))
+ '(#:install-plan
+ '(("doc" "share/vim/vimfiles/")
+ ("autoload" "share/vim/vimfiles/"))))
(synopsis "Context filetype library for Vim")
(description
"@code{vim-context-filetype} is context filetype library for Vim script.")