From: Christopher Baines <mail@cbaines.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 28805-done@debbugs.gnu.org
Subject: bug#28805: [PATCH] gnu: Add emacs-org-plus-contrib.
Date: Mon, 16 Oct 2017 08:40:55 +0100 [thread overview]
Message-ID: <20171016084055.02cb9ebc@cbaines.net> (raw)
In-Reply-To: <87inffimbm.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1510 bytes --]
On Mon, 16 Oct 2017 09:27:57 +0200
ludo@gnu.org (Ludovic Courtès) wrote:
> Hi!
>
> Christopher Baines <mail@cbaines.net> skribis:
>
> > From 43ad9a4e6db6f4f94d2b2f63cbd9b729f5d4e607 Mon Sep 17 00:00:00 2001
> > From: Christopher Baines <mail@cbaines.net>
> > Date: Wed, 11 Oct 2017 14:46:47 +0100
> > Subject: [PATCH] gnu: Add emacs-org-contrib.
> >
> > * gnu/packages/emacs.scm (emacs-org-contrib): New variable.
>
> [...]
>
> > + (modify-phases %standard-phases
> > + (add-after 'install 'delete-org-files
> > + (lambda* (#:key inputs outputs #:allow-other-keys)
> > + (let* ((out (assoc-ref outputs "out"))
> > + (org (assoc-ref inputs "emacs-org"))
> > + (contrib-files
> > + (map basename (find-files out)))
> > + (org+contrib-files
> > + (map basename (find-files org)))
> > + (duplicates (lset-intersection
> > + string=? contrib-files org+contrib-files)))
> > + (with-directory-excursion
> > + (string-append
> > + out "/share/emacs/site-lisp/guix.d/org-contrib-"
> > + ,(package-version emacs-org))
> > + (for-each delete-file duplicates))))))))
>
> Awesome. Just return #t and we’re done. :-)
>
> Thank you!
Great, I've now added #t, and pushed this. Thanks for reviewing :)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
prev parent reply other threads:[~2017-10-16 7:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-13 5:45 [bug#28805] [PATCH] gnu: Add emacs-org-plus-contrib Christopher Baines
2017-10-13 21:42 ` Ludovic Courtès
2017-10-15 19:05 ` Christopher Baines
2017-10-15 19:44 ` Ludovic Courtès
2017-10-15 20:11 ` Christopher Baines
2017-10-16 7:27 ` Ludovic Courtès
2017-10-16 7:40 ` Christopher Baines [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171016084055.02cb9ebc@cbaines.net \
--to=mail@cbaines.net \
--cc=28805-done@debbugs.gnu.org \
--cc=ludo@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.