gnu: guile-ncurses: Use 'modify-phases'.
* gnu/packages/guile.scm (guile-ncurses)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
4176eb1918
commit
fa37f21bda
|
@ -379,8 +379,9 @@ many readers as needed).")
|
|||
(string-append "--with-guilesitedir="
|
||||
(assoc-ref %outputs "out")
|
||||
"/share/guile/site/2.0"))
|
||||
#:phases (alist-cons-after
|
||||
'install 'post-install
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'post-install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(dir (string-append out "/share/guile/site/"))
|
||||
|
@ -388,8 +389,7 @@ many readers as needed).")
|
|||
(substitute* files
|
||||
(("\"libguile-ncurses\"")
|
||||
(format #f "\"~a/lib/libguile-ncurses\""
|
||||
out)))))
|
||||
%standard-phases)))
|
||||
out)))))))))
|
||||
(home-page "http://www.gnu.org/software/guile-ncurses/")
|
||||
(synopsis "Guile bindings to ncurses")
|
||||
(description
|
||||
|
|
Loading…
Reference in New Issue