gnu: curl: Use 'modify-phases'.
* gnu/packages/curl.scm (curl)[arguments]: Use 'modify-phases'.
This commit is contained in:
parent
eb55e28c84
commit
5625adfccc
|
@ -63,7 +63,8 @@
|
||||||
`(#:configure-flags '("--with-gnutls" "--with-gssapi")
|
`(#:configure-flags '("--with-gnutls" "--with-gssapi")
|
||||||
;; Add a phase to patch '/bin/sh' occurances in tests/runtests.pl
|
;; Add a phase to patch '/bin/sh' occurances in tests/runtests.pl
|
||||||
#:phases
|
#:phases
|
||||||
(alist-replace
|
(modify-phases %standard-phases
|
||||||
|
(replace
|
||||||
'check
|
'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "tests/runtests.pl"
|
(substitute* "tests/runtests.pl"
|
||||||
|
@ -95,8 +96,7 @@
|
||||||
;; The top-level "make check" does "make -C tests quiet-test", which
|
;; The top-level "make check" does "make -C tests quiet-test", which
|
||||||
;; is too quiet. Use the "test" target instead, which is more
|
;; is too quiet. Use the "test" target instead, which is more
|
||||||
;; verbose.
|
;; verbose.
|
||||||
(zero? (system* "make" "-C" "tests" "test")))
|
(zero? (system* "make" "-C" "tests" "test")))))))
|
||||||
%standard-phases)))
|
|
||||||
(synopsis "Command line tool for transferring data with URL syntax")
|
(synopsis "Command line tool for transferring data with URL syntax")
|
||||||
(description
|
(description
|
||||||
"curl is a command line tool for transferring data with URL syntax,
|
"curl is a command line tool for transferring data with URL syntax,
|
||||||
|
|
Loading…
Reference in New Issue