gnu: curl: Use 'modify-phases'.

* gnu/packages/curl.scm (curl)[arguments]: Use 'modify-phases'.
This commit is contained in:
Ludovic Courtès 2015-09-09 22:43:36 +02:00
parent eb55e28c84
commit 5625adfccc

View file

@ -63,7 +63,8 @@ (define-public curl
`(#:configure-flags '("--with-gnutls" "--with-gssapi")
;; Add a phase to patch '/bin/sh' occurances in tests/runtests.pl
#:phases
(alist-replace
(modify-phases %standard-phases
(replace
'check
(lambda _
(substitute* "tests/runtests.pl"
@ -95,8 +96,7 @@ (define-public curl
;; The top-level "make check" does "make -C tests quiet-test", which
;; is too quiet. Use the "test" target instead, which is more
;; verbose.
(zero? (system* "make" "-C" "tests" "test")))
%standard-phases)))
(zero? (system* "make" "-C" "tests" "test")))))))
(synopsis "Command line tool for transferring data with URL syntax")
(description
"curl is a command line tool for transferring data with URL syntax,