guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: sedsed: Symlink after wrapping.


From: guix-commits
Subject: 02/05: gnu: sedsed: Symlink after wrapping.
Date: Wed, 10 Jul 2019 11:39:53 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit b7e26ec69542c68f4fdbb79c3ad5a193c299cae5
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Wed Jul 10 14:32:58 2019 +0200

    gnu: sedsed: Symlink after wrapping.
    
    Drop unused .sedsed-real symlink and avoid sedsed → sedsed.py
    → .sedsed.py-real exec chain.
    
    * gnu/packages/admin.scm (sedsed)[arguments]: Move ‘symlink’ phase
    after ‘wrap’.
---
 gnu/packages/admin.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 411be40..3a7014c 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2492,14 +2492,14 @@ in order to be able to find it.
                ;; Just one file to copy around
                (install-file "sedsed.py" bin)
                #t)))
-         (add-after 'install 'symlink
+         (add-after 'wrap 'symlink
            ;; Create 'sedsed' symlink to "sedsed.py".
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))
                     (bin (string-append out "/bin"))
                     (sed (string-append bin "/sedsed"))
                     (sedpy (string-append bin "/sedsed.py")))
-               (symlink  sedpy sed)
+               (symlink sedpy sed)
                #t))))))
     (home-page "http://aurelio.net/projects/sedsed";)
     (synopsis "Sed sed scripts")



reply via email to

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