summary refs log tree commit diff
path: root/gnu/packages/vim.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-04 11:00:13 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-03-04 11:00:13 +0200
commit90d64d9ca9b6940dc8ab0ea811d091e27f57552e (patch)
tree57160523d00786741f7daecaa88c139364786089 /gnu/packages/vim.scm
parent72194753d9fcaed2ccaaf78d3982cb0eac6ef343 (diff)
downloadguix-90d64d9ca9b6940dc8ab0ea811d091e27f57552e.tar.gz
gnu: vim-neosnippet-snippets: Use copy-build-system.
* gnu/packages/vim.scm (vim-neosnippet-snippets)[build-system]: Switch
to copy-build-system.
[arguments]: Adjust accordingly.
Diffstat (limited to 'gnu/packages/vim.scm')
-rw-r--r--gnu/packages/vim.scm16
1 files changed, 3 insertions, 13 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 37af7c6193..54c9c5eaca 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -321,20 +321,10 @@ features than Vim's built-in completion.")
          (sha256
           (base32
            "151wpvbj6jb9jdkbhj3b77f5sq7y328spvwfbqyj1y32rg4ifmc6"))))
-      (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")))
-                 (copy-recursively "neosnippets"
-                                   (string-append vimfiles "/neosnippets"))
-               #t))))))
+       '(#:install-plan
+         '(("neosnippets" "share/vim/vimfiles/"))))
     (synopsis "Snippets for neosnippet")
     (description
      "@code{neosnippet-snippets} provides standard snippets for the Vim plugin