mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: mu: Install emacs files in a proper place.
* gnu/packages/mail.scm (mu)[arguments]: Add 'patch-configure.ac' phase to avoid adding "mu4e" sub-directory to 'lispdir' variable.
This commit is contained in:
parent
99404fff9f
commit
789bda83d2
1 changed files with 10 additions and 1 deletions
|
@ -367,7 +367,16 @@ (define-public mu
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'autoreconf
|
(add-after 'unpack 'patch-configure.ac
|
||||||
|
;; By default, elisp code goes to "share/emacs/site-lisp/mu4e",
|
||||||
|
;; so our Emacs package can't find it. Setting "--with-lispdir"
|
||||||
|
;; configure flag doesn't help because "mu4e" will be added to
|
||||||
|
;; the lispdir anyway, so we have to modify "configure.ac".
|
||||||
|
(lambda _
|
||||||
|
(substitute* "configure.ac"
|
||||||
|
(("^ +lispdir=.*") ""))
|
||||||
|
#t))
|
||||||
|
(add-after 'patch-configure.ac 'autoreconf
|
||||||
(lambda _
|
(lambda _
|
||||||
(zero? (system* "autoreconf" "-vi"))))
|
(zero? (system* "autoreconf" "-vi"))))
|
||||||
(add-before 'check 'check-tz-setup
|
(add-before 'check 'check-tz-setup
|
||||||
|
|
Loading…
Reference in a new issue