On Mon, 16 Oct 2017 09:27:57 +0200 ludo@gnu.org (Ludovic Courtès) wrote: > Hi! > > Christopher Baines skribis: > > > From 43ad9a4e6db6f4f94d2b2f63cbd9b729f5d4e607 Mon Sep 17 00:00:00 2001 > > From: Christopher Baines > > 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 :)