mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 07:12:30 -05:00
gnu: weechat: Use 'modify-phases'.
* gnu/packages/weechat.scm (weechat)[arguments]: Use 'modify-phases'. Remove 'fix-file' phase.
This commit is contained in:
parent
f4a4a71885
commit
e33cf9a69a
1 changed files with 12 additions and 18 deletions
|
@ -75,20 +75,14 @@ (define-public weechat
|
||||||
("python" ,python-2)
|
("python" ,python-2)
|
||||||
("perl" ,perl)
|
("perl" ,perl)
|
||||||
("tcl" ,tcl)))
|
("tcl" ,tcl)))
|
||||||
(arguments `(#:configure-flags (list
|
(arguments
|
||||||
(string-append
|
`(#:configure-flags (list (string-append
|
||||||
"--with-tclconfig="
|
"--with-tclconfig="
|
||||||
(assoc-ref %build-inputs "tcl") "/lib"))
|
(assoc-ref %build-inputs "tcl") "/lib"))
|
||||||
#:phases (alist-cons-after
|
#:phases (modify-phases %standard-phases
|
||||||
'autogen 'fix-file
|
(add-before 'configure 'autogen
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "configure"
|
(zero? (system* "./autogen.sh")))))))
|
||||||
(("/usr/bin/file") (which "file"))))
|
|
||||||
(alist-cons-before
|
|
||||||
'configure 'autogen
|
|
||||||
(lambda _
|
|
||||||
(zero? (system* "./autogen.sh")))
|
|
||||||
%standard-phases))))
|
|
||||||
(synopsis "Extensible chat client")
|
(synopsis "Extensible chat client")
|
||||||
(description "WeeChat (Wee Enhanced Environment for Chat) is an
|
(description "WeeChat (Wee Enhanced Environment for Chat) is an
|
||||||
Internet Relay Chat client, which is designed to be light and fast.
|
Internet Relay Chat client, which is designed to be light and fast.
|
||||||
|
|
Loading…
Reference in a new issue