gnu: ed: Use 'modify-phases'.

* gnu/packages/ed.scm (ed)[arguments]: Use 'modify-phases'.
This commit is contained in:
Efraim Flashner 2016-02-15 10:16:49 +02:00
parent 5cd2c1e8c1
commit ff0c847687

View file

@ -40,11 +40,12 @@ (define-public ed
(native-inputs `(("lzip" ,lzip)))
(arguments
'(#:configure-flags '("CC=gcc")
#:phases (alist-cons-before 'patch-source-shebangs 'patch-test-suite
(lambda _
(substitute* "testsuite/check.sh"
(("/bin/sh") (which "sh"))))
%standard-phases)))
#:phases
(modify-phases %standard-phases
(add-before 'patch-source-shebangs 'patch-test-suite
(lambda _
(substitute* "testsuite/check.sh"
(("/bin/sh") (which "sh"))))))))
(home-page "http://www.gnu.org/software/ed/")
(synopsis "Line-oriented text editor")
(description