From: Alex Kost <alezost@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 1/4] gnu: mu: Use 'modify-phases'.
Date: Sun, 8 May 2016 13:21:48 +0300 [thread overview]
Message-ID: <1462702911-18777-2-git-send-email-alezost@gmail.com> (raw)
In-Reply-To: <1462702911-18777-1-git-send-email-alezost@gmail.com>
* gnu/packages/mail.scm (mu): Use 'modify-phases'.
---
gnu/packages/mail.scm | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 17dd0ad..59ddd41 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2016 Al McElrath <hello@yrns.org>
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
+;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -364,18 +365,18 @@ repository and Maildir/IMAP as LOCAL repository.")
("gmime" ,gmime)
("tzdata" ,tzdata))) ;for mu/test/test-mu-query.c
(arguments
- '(#:phases (alist-cons-after
- 'unpack 'autoreconf
- (lambda _
- (zero? (system* "autoreconf" "-vi")))
- (alist-cons-before
- 'check 'check-tz-setup
- (lambda* (#:key inputs #:allow-other-keys)
- ;; For mu/test/test-mu-query.c
- (setenv "TZDIR"
- (string-append (assoc-ref inputs "tzdata")
- "/share/zoneinfo")))
- %standard-phases))))
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'autoreconf
+ (lambda _
+ (zero? (system* "autoreconf" "-vi"))))
+ (add-before 'check 'check-tz-setup
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; For mu/test/test-mu-query.c
+ (setenv "TZDIR"
+ (string-append (assoc-ref inputs "tzdata")
+ "/share/zoneinfo"))
+ #t)))))
(home-page "http://www.djcbsoftware.nl/code/mu/")
(synopsis "Quickly find emails")
(description
--
2.7.3
next prev parent reply other threads:[~2016-05-08 10:22 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-08 10:21 [PATCH 0/4] Update mu and autoload mu4e Alex Kost
2016-05-08 10:21 ` Alex Kost [this message]
2016-05-09 20:14 ` [PATCH 1/4] gnu: mu: Use 'modify-phases' Ludovic Courtès
2016-05-08 10:21 ` [PATCH 2/4] gnu: mu: Install emacs files in a proper place Alex Kost
2016-05-09 20:16 ` Ludovic Courtès
2016-05-10 8:21 ` Alex Kost
2016-05-10 13:23 ` Ludovic Courtès
2016-05-08 10:21 ` [PATCH 3/4] gnu: mu: Install emacs autoloads Alex Kost
2016-05-09 20:17 ` Ludovic Courtès
2016-05-08 10:21 ` [PATCH 4/4] gnu: mu: Update to 0.9.16 Alex Kost
2016-05-09 20:17 ` Ludovic Courtès
2016-05-08 16:11 ` [PATCH 0/4] Update mu and autoload mu4e Leo Famulari
2016-05-09 20:11 ` Ludovic Courtès
2016-05-10 8:21 ` Alex Kost
2016-05-10 13:23 ` Ludovic Courtès
2016-05-11 11:32 ` Alex Kost
2016-05-11 16:00 ` Ludovic Courtès
2016-05-12 10:03 ` Alex Kost
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1462702911-18777-2-git-send-email-alezost@gmail.com \
--to=alezost@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).