efraim pushed a commit to branch master
in repository guix.

commit 45477c6a7d057e26046c9ca90b7bf7869ea71803
Author: Efraim Flashner <[email protected]>
Date:   Mon Jul 25 00:18:15 2016 +0300

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

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 9a6694e..d18a8de 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -236,12 +236,12 @@ compatible to GNU Pth.")
    (arguments
     `(#:configure-flags '("--enable-gpg2-is-gpg")
       #:phases
-       (alist-cons-before
-        'configure 'patch-config-files
-        (lambda _
-          (substitute* "tests/openpgp/defs.inc"
-            (("/bin/pwd") (which "pwd"))))
-       %standard-phases)))
+      (modify-phases %standard-phases
+        (add-before 'configure 'patch-config-files
+          (lambda _
+            (substitute* "tests/openpgp/defs.inc"
+              (("/bin/pwd") (which "pwd")))
+            #t)))))
     (home-page "https://gnupg.org/";)
     (synopsis "GNU Privacy Guard")
     (description

Reply via email to