mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 19:19:20 -05:00
gnu: mu: Install emacs autoloads.
* gnu/packages/mail.scm (mu)[arguments]: Add 'install-emacs-autoloads' phase. Use appropriate modules and imported-modules.
This commit is contained in:
parent
789bda83d2
commit
704f219668
1 changed files with 13 additions and 1 deletions
|
@ -365,7 +365,12 @@ (define-public mu
|
||||||
("gmime" ,gmime)
|
("gmime" ,gmime)
|
||||||
("tzdata" ,tzdata))) ;for mu/test/test-mu-query.c
|
("tzdata" ,tzdata))) ;for mu/test/test-mu-query.c
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
`(#:modules ((guix build gnu-build-system)
|
||||||
|
(guix build utils)
|
||||||
|
(guix build emacs-utils))
|
||||||
|
#:imported-modules (,@%gnu-build-system-modules
|
||||||
|
(guix build emacs-utils))
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-configure.ac
|
(add-after 'unpack 'patch-configure.ac
|
||||||
;; By default, elisp code goes to "share/emacs/site-lisp/mu4e",
|
;; By default, elisp code goes to "share/emacs/site-lisp/mu4e",
|
||||||
|
@ -385,6 +390,13 @@ (define-public mu
|
||||||
(setenv "TZDIR"
|
(setenv "TZDIR"
|
||||||
(string-append (assoc-ref inputs "tzdata")
|
(string-append (assoc-ref inputs "tzdata")
|
||||||
"/share/zoneinfo"))
|
"/share/zoneinfo"))
|
||||||
|
#t))
|
||||||
|
(add-after 'install 'install-emacs-autoloads
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(emacs-generate-autoloads
|
||||||
|
"mu4e"
|
||||||
|
(string-append (assoc-ref outputs "out")
|
||||||
|
"/share/emacs/site-lisp"))
|
||||||
#t)))))
|
#t)))))
|
||||||
(home-page "http://www.djcbsoftware.nl/code/mu/")
|
(home-page "http://www.djcbsoftware.nl/code/mu/")
|
||||||
(synopsis "Quickly find emails")
|
(synopsis "Quickly find emails")
|
||||||
|
|
Loading…
Reference in a new issue