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")))) (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)