gnu: autogen: Use 'modify-phases'.
* gnu/packages/autogen.scm (autogen)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
e85ff3e2fd
commit
99e4aa54a6
|
@ -46,16 +46,16 @@
|
||||||
(inputs `(("which" ,which)
|
(inputs `(("which" ,which)
|
||||||
("guile" ,guile-2.0)))
|
("guile" ,guile-2.0)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (alist-cons-before
|
'(#:phases
|
||||||
'patch-source-shebangs 'patch-test-scripts
|
(modify-phases %standard-phases
|
||||||
(lambda _
|
(add-before 'patch-source-shebangs 'patch-test-scripts
|
||||||
(let ((sh (which "sh")))
|
(lambda _
|
||||||
(substitute*
|
(let ((sh (which "sh")))
|
||||||
(append (find-files "agen5/test" "\\.test$")
|
(substitute*
|
||||||
(find-files "autoopts/test" "\\.(test|in)$"))
|
(append (find-files "agen5/test" "\\.test$")
|
||||||
(("/bin/sh") sh)
|
(find-files "autoopts/test" "\\.(test|in)$"))
|
||||||
(("/usr/bin/tr") "tr"))))
|
(("/bin/sh") sh)
|
||||||
%standard-phases)))
|
(("/usr/bin/tr") "tr"))))))))
|
||||||
(home-page "http://www.gnu.org/software/autogen/")
|
(home-page "http://www.gnu.org/software/autogen/")
|
||||||
(synopsis "Automated program generator")
|
(synopsis "Automated program generator")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue