gnu: tidy: Use ‘modify-phases’.

* gnu/packages/web.scm (tidy)[arguments]: Use the ‘modify-phases’ syntax.
This commit is contained in:
Tobias Geerinckx-Rice 2016-11-12 18:33:45 +01:00
parent 3b0ac79500
commit 917239ff99
No known key found for this signature in database
GPG key ID: 91CCDB9B48541B99

View file

@ -510,15 +510,14 @@ (module "tidy")
(patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
(build-system gnu-build-system)
(arguments
'(#:phases (alist-cons-after
'unpack 'bootstrap
'(#:phases (modify-phases %standard-phases
(add-after 'unpack 'bootstrap
(lambda* (#:key inputs #:allow-other-keys)
;; configure.in and Makefile.am aren't in the root of the
;; source tree.
(copy-recursively "build/gnuauto" ".")
(setenv "AUTOMAKE" "automake --foreign")
(zero? (system* "autoreconf" "-vfi")))
%standard-phases)))
(zero? (system* "autoreconf" "-vfi")))))))
(native-inputs
`(("automake" ,automake)
("autoconf" ,autoconf)