gnu: tidy: Use ‘modify-phases’.
* gnu/packages/web.scm (tidy)[arguments]: Use the ‘modify-phases’ syntax.
This commit is contained in:
parent
3b0ac79500
commit
917239ff99
@ -510,15 +510,14 @@ UTS#46.")
|
|||||||
(patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
|
(patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (alist-cons-after
|
'(#:phases (modify-phases %standard-phases
|
||||||
'unpack 'bootstrap
|
(add-after 'unpack 'bootstrap
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
;; configure.in and Makefile.am aren't in the root of the
|
;; configure.in and Makefile.am aren't in the root of the
|
||||||
;; source tree.
|
;; source tree.
|
||||||
(copy-recursively "build/gnuauto" ".")
|
(copy-recursively "build/gnuauto" ".")
|
||||||
(setenv "AUTOMAKE" "automake --foreign")
|
(setenv "AUTOMAKE" "automake --foreign")
|
||||||
(zero? (system* "autoreconf" "-vfi")))
|
(zero? (system* "autoreconf" "-vfi")))))))
|
||||||
%standard-phases)))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("automake" ,automake)
|
`(("automake" ,automake)
|
||||||
("autoconf" ,autoconf)
|
("autoconf" ,autoconf)
|
||||||
|
Loading…
Reference in New Issue
Block a user