guix-commits
[Top][All Lists]
Advanced

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

05/05: gnu: paperkey: Use 'modify-phases'.


From: Efraim Flashner
Subject: 05/05: gnu: paperkey: Use 'modify-phases'.
Date: Fri, 19 Aug 2016 09:00:57 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit e379d85c6c5a915c4ae27a42f5fd7d30fab9332e
Author: Efraim Flashner <address@hidden>
Date:   Fri Aug 19 11:51:56 2016 +0300

    gnu: paperkey: Use 'modify-phases'.
    
    * gnu/packages/gnupg.scm (paperkey)[arguments]: Use 'modify-phases'.
---
 gnu/packages/gnupg.scm |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 1bb6c63..7df96b4 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -668,13 +668,13 @@ passphrase when @code{gpg} or @code{gpg2} is run and 
needs it.")))
     (build-system gnu-build-system)
     (arguments
      `(#:phases
-       (alist-cons-before
-        'check 'patch-check-scripts
-        (lambda _
-          (substitute* '("checks/roundtrip.sh"
-                         "checks/roundtrip-raw.sh")
-            (("/bin/echo") "echo")))
-        %standard-phases)))
+       (modify-phases %standard-phases
+         (add-before 'check 'patch-check-scripts
+           (lambda _
+             (substitute* '("checks/roundtrip.sh"
+                            "checks/roundtrip-raw.sh")
+               (("/bin/echo") "echo"))
+             #t)))))
     (home-page "http://www.jabberwocky.com/software/paperkey/";)
     (synopsis "Backup OpenPGP keys to paper")
     (description



reply via email to

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