me
/
guix
Archived
1
0
Fork 0

gnu: irssi: Use 'modify-phases'.

* gnu/packages/irc.scm (irssi)[arguments]: Use 'modify-phases'.
master
Efraim Flashner 2016-02-28 20:48:57 +02:00
parent 27930f853d
commit a61bd6a5e3
1 changed files with 10 additions and 11 deletions

View File

@ -88,8 +88,8 @@ irssi, but graphical.")
(build-system gnu-build-system)
(arguments
`(#:phases
(alist-replace
'configure
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(ncurses (assoc-ref inputs "ncurses")))
@ -97,8 +97,7 @@ irssi, but graphical.")
(zero?
(system* "./configure"
(string-append "--prefix=" out)
(string-append "--with-ncurses=" ncurses)))))
%standard-phases)))
(string-append "--with-ncurses=" ncurses)))))))))
(inputs
`(("glib" ,glib)
("ncurses" ,ncurses)