guix-commits
[Top][All Lists]
Advanced

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

08/15: gnu: vim-luna: Use copy-build-system.


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

efraim pushed a commit to branch master
in repository guix.

commit 84ec7b70090c7bf886cd9d023396d6d2e6e663fb
Author: Efraim Flashner <address@hidden>
AuthorDate: Wed Mar 4 11:39:05 2020 +0200

    gnu: vim-luna: Use copy-build-system.
    
    * gnu/packages/vim.scm (vim-luna)[build-system]: Switch to
    copy-build-system.
    [arguments]: Adjust accordingly.
---
 gnu/packages/vim.scm | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index f6c6d03..ca39eff 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -417,20 +417,10 @@ trouble using them, because you do not have to remember 
each snippet name.")
          (sha256
           (base32
            "0ka3qbhsh8lix1vyj4678j7dnchkd8khhirrnn3aylxxf8fpqyg8"))))
-      (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"))
-                      (colors (string-append vimfiles "/colors")))
-                 (copy-recursively "colors" colors)
-                 #t))))))
+       '(#:install-plan
+         '(("colors" "share/vim/vimfiles/"))))
       (synopsis "Dark color theme for Vim")
       (description
        "@code{vim-luna} is a dark color theme for Vim.")



reply via email to

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