guix-commits
[Top][All Lists]
Advanced

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

21/21: gnu: vim-vlime: Fix build.


From: guix-commits
Subject: 21/21: gnu: vim-vlime: Fix build.
Date: Wed, 19 Jun 2024 03:24:15 -0400 (EDT)

iyzsong pushed a commit to branch core-updates
in repository guix.

commit 881a01da6bb53a26aca9e610d719ad21acb3fea5
Author: 宋文武 <iyzsong@member.fsf.org>
AuthorDate: Wed Jun 19 15:22:23 2024 +0800

    gnu: vim-vlime: Fix build.
    
    * gnu/packages/vim.scm (vim-vlime)[arguments]: Correct order of phases.
    
    Change-Id: I449cceff6022cee481840e49b732a8bba8031a61
---
 gnu/packages/vim.scm | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 1ab69b9572..786a85ab58 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1217,6 +1217,14 @@ to Lisp.")
      '(#:plugin-name "vlime"
        #:phases
        (modify-phases %standard-phases
+         (add-after 'install 'symlink-files
+           (lambda* (#:key outputs plugin-name mode #:allow-other-keys)
+             (with-directory-excursion
+               (string-append (assoc-ref outputs "out")
+                              "/share/vim/vimfiles/pack/guix/" mode "/" 
plugin-name)
+               (for-each (lambda (dir)
+                           (symlink (string-append "./vim/" dir) dir))
+                         (list "after" "autoload" "doc" "ftplugin" 
"syntax")))))
          (add-after 'symlink-files 'install-lisp-files
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))
@@ -1226,15 +1234,7 @@ to Lisp.")
                (copy-recursively "lisp" (string-append common-lisp 
"/source/vlime"))
                (mkdir-p (string-append common-lisp "/systems/"))
                (symlink (string-append common-lisp "/source/vlime/vlime.asd")
-                        (string-append common-lisp "/systems/vlime.asd")))))
-         (add-after 'install 'symlink-files
-           (lambda* (#:key outputs plugin-name mode #:allow-other-keys)
-             (with-directory-excursion
-               (string-append (assoc-ref outputs "out")
-                              "/share/vim/vimfiles/pack/guix/" mode "/" 
plugin-name)
-               (for-each (lambda (dir)
-                           (symlink (string-append "./vim/" dir) dir))
-                         (list "after" "autoload" "doc" "ftplugin" 
"syntax"))))))))
+                        (string-append common-lisp "/systems/vlime.asd"))))))))
     (propagated-inputs
      (list cl-alexandria
            cl-slime-swank



reply via email to

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