me
/
guix
Archived
1
0
Fork 0

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’.
master
Tobias Geerinckx-Rice 2019-07-10 14:32:58 +02:00
parent ec40227b2c
commit b7e26ec695
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 2 additions and 2 deletions

View File

@ -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")