guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/15: gnu: vim-guix-vim: Use copy-build-system.


From: guix-commits
Subject: 15/15: gnu: vim-guix-vim: Use copy-build-system.
Date: Wed, 4 Mar 2020 05:10:34 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 12fe38a1d651c9ea48c0de27ef103c676f699396
Author: Efraim Flashner <address@hidden>
AuthorDate: Wed Mar 4 12:04:52 2020 +0200

    gnu: vim-guix-vim: Use copy-build-system.
    
    * gnu/packages/vim.scm (vim-guix-vim)[build-system]: Switch to
    copy-build-system.
    [arguments]: Adjust accordingly.
---
 gnu/packages/vim.scm | 23 ++++++++---------------
 1 file changed, 8 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index bed9783..b468347 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -834,22 +834,15 @@ through its msgpack-rpc API.")
               (sha256
                (base32
                 "1f8h8m96fqh3f9hy87spgh9kdqzyxl11n9s3rywvyq5xhn489bnk"))))
-    (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")))
-               (for-each
-                 (lambda (dir)
-                   (copy-recursively dir (string-append vimfiles "/" dir)))
-                 '("compiler" "doc" "indent" "ftdetect" "ftplugin" "syntax"))
-               #t))))))
+     '(#:install-plan
+       '(("compiler" "share/vim/vimfiles/")
+         ("doc" "share/vim/vimfiles/")
+         ("indent" "share/vim/vimfiles/")
+         ("ftdetect" "share/vim/vimfiles/")
+         ("ftplugin" "share/vim/vimfiles/")
+         ("syntax" "share/vim/vimfiles/"))))
     (home-page "https://gitlab.com/Efraim/guix.vim";)
     (synopsis "Guix integration in Vim")
     (description "This package provides support for GNU Guix in Vim.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]