gnu: irssi: Use 'modify-phases'.
* gnu/packages/irc.scm (irssi)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
27930f853d
commit
a61bd6a5e3
|
@ -88,8 +88,8 @@ irssi, but graphical.")
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(alist-replace
|
(modify-phases %standard-phases
|
||||||
'configure
|
(replace 'configure
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
(ncurses (assoc-ref inputs "ncurses")))
|
(ncurses (assoc-ref inputs "ncurses")))
|
||||||
|
@ -97,8 +97,7 @@ irssi, but graphical.")
|
||||||
(zero?
|
(zero?
|
||||||
(system* "./configure"
|
(system* "./configure"
|
||||||
(string-append "--prefix=" out)
|
(string-append "--prefix=" out)
|
||||||
(string-append "--with-ncurses=" ncurses)))))
|
(string-append "--with-ncurses=" ncurses)))))))))
|
||||||
%standard-phases)))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("glib" ,glib)
|
`(("glib" ,glib)
|
||||||
("ncurses" ,ncurses)
|
("ncurses" ,ncurses)
|
||||||
|
|
Loading…
Reference in New Issue