guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: address@hidden: Use 'modify-phases'.


From: Efraim Flashner
Subject: 02/02: gnu: address@hidden: Use 'modify-phases'.
Date: Sun, 24 Jul 2016 21:40:03 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit 45477c6a7d057e26046c9ca90b7bf7869ea71803
Author: Efraim Flashner <address@hidden>
Date:   Mon Jul 25 00:18:15 2016 +0300

    gnu: address@hidden: Use 'modify-phases'.
    
    * gnu/packages/gnupg.scm (address@hidden)[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

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