guix-commits
[Top][All Lists]
Advanced

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

09/15: gnu: pan: Use G-expressions.


From: guix-commits
Subject: 09/15: gnu: pan: Use G-expressions.
Date: Wed, 5 Jan 2022 23:23:50 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 1326b360739293b9be7185acce9b6cc26a6d498d
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Jan 5 23:38:27 2022 +0100

    gnu: pan: Use G-expressions.
    
    * gnu/packages/mail.scm (pan)[arguments]:
    Rewrite as G-expressions.
---
 gnu/packages/mail.scm | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 8383a677f7..b426d5f4da 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -62,6 +62,7 @@
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
 (define-module (gnu packages mail)
+  #:use-module (guix gexp)
   #:use-module (guix utils)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
@@ -3789,17 +3790,19 @@ killed threads.")
        (sha256
         (base32 "1sl5rdgalswxya61vhkf28r0fb4b3pq77qgzhhsfagmpvgbx0d2x"))))
     (arguments
-     `(#:configure-flags '("--with-gtk3" "--with-gtkspell" "--with-gnutls"
-                           "--enable-libnotify" "--enable-manual"
-                           "--enable-gkr")
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'configure 'patch-gpg2
-           (lambda* (#:key inputs #:allow-other-keys)
-             (substitute* "pan/usenet-utils/gpg.cc"
-               (("\"gpg2\"") (string-append "\""
-                                            (assoc-ref inputs "gnupg")
-                                            "/bin/gpg\""))))))))
+     (list #:configure-flags
+           #~(list "--with-gtk3" "--with-gtkspell" "--with-gnutls"
+                   "--enable-libnotify" "--enable-manual"
+                   "--enable-gkr")
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-before 'configure 'patch-gpg2
+                 (lambda* (#:key inputs #:allow-other-keys)
+                   (substitute* "pan/usenet-utils/gpg.cc"
+                     (("\"gpg2\"")
+                      (string-append "\""
+                                     (search-input-file inputs "/bin/gpg")
+                                     "\""))))))))
     (inputs
      (list gmime
            gnupg



reply via email to

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