diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2016-02-28 20:48:57 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2016-03-01 11:09:32 +0200 |
commit | a61bd6a5e3f375c08794519f4c9528c899eb5f32 (patch) | |
tree | 5fdee68b5b91e0f76c50c4c6185e6a72783bc80d /gnu | |
parent | 27930f853d5435e48a8b76717e448285d5b16c6c (diff) | |
download | patches-a61bd6a5e3f375c08794519f4c9528c899eb5f32.tar patches-a61bd6a5e3f375c08794519f4c9528c899eb5f32.tar.gz |
gnu: irssi: Use 'modify-phases'.
* gnu/packages/irc.scm (irssi)[arguments]: Use 'modify-phases'.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/irc.scm | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 0e29f8a691..07b72bdb94 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -88,17 +88,16 @@ irssi, but graphical.") (build-system gnu-build-system) (arguments `(#:phases - (alist-replace - 'configure - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (ncurses (assoc-ref inputs "ncurses"))) - (setenv "CONFIG_SHELL" (which "bash")) - (zero? - (system* "./configure" - (string-append "--prefix=" out) - (string-append "--with-ncurses=" ncurses))))) - %standard-phases))) + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (ncurses (assoc-ref inputs "ncurses"))) + (setenv "CONFIG_SHELL" (which "bash")) + (zero? + (system* "./configure" + (string-append "--prefix=" out) + (string-append "--with-ncurses=" ncurses))))))))) (inputs `(("glib" ,glib) ("ncurses" ,ncurses) |