gnu: gnurl: Use 'modify-phases'.

* gnu/packages/gnunet.scm (gnurl)[arguments]: Use 'modify-phases'.
This commit is contained in:
Efraim Flashner 2016-09-11 09:06:02 +03:00
parent c543b4e1d3
commit b9fe72bf4d
No known key found for this signature in database
GPG key ID: F4C1D3917EACEE93

View file

@ -193,12 +193,12 @@ (define-public gnurl
#:parallel-tests? #f
#:phases
;; We have to patch runtests.pl in tests/ directory
(alist-cons-before
'check 'patch-runtests
(lambda _
(substitute* "tests/runtests.pl"
(("/bin/sh") (which "sh"))))
%standard-phases)))
(modify-phases %standard-phases
(add-before 'check 'patch-runtests
(lambda _
(substitute* "tests/runtests.pl"
(("/bin/sh") (which "sh")))
#t)))))
(synopsis "Microfork of cURL with support for the HTTP/HTTPS/GnuTLS subset of cURL")
(description
"Gnurl is a microfork of cURL, a command line tool for transferring data