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
1 changed files with 6 additions and 5 deletions

View File

@ -40,11 +40,12 @@
(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