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
1 changed files with 8 additions and 9 deletions

View File

@ -510,15 +510,14 @@ UTS#46.")
(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)