guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: gnurl: Use 'modify-phases'.


From: Efraim Flashner
Subject: 02/03: gnu: gnurl: Use 'modify-phases'.
Date: Sun, 11 Sep 2016 06:21:48 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit b9fe72bf4d0e4911d7da5c0c126b41b58c4b37f0
Author: Efraim Flashner <address@hidden>
Date:   Sun Sep 11 09:06:02 2016 +0300

    gnu: gnurl: Use 'modify-phases'.
    
    * gnu/packages/gnunet.scm (gnurl)[arguments]: Use 'modify-phases'.
---
 gnu/packages/gnunet.scm |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index 60aa671..0083bf1 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -193,12 +193,12 @@ and support for SSL3 and TLS.")
       #: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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]