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