mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-18 08:51:48 -05:00
gnu: emacs-typit: Fix dictionary location.
Move the dictionary directory to be next to the lisp files, where it is expected to be. * gnu/packages/emacs-xyz.scm (emacs-typit)[arguments] <#:phases>: Remove install-dictionaries phase. <#:include>: Include dictionaries. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
3968134a4d
commit
143d21fa95
1 changed files with 1 additions and 11 deletions
|
@ -1217,17 +1217,7 @@ (define-public emacs-typit
|
|||
(base32 "1savrxs7xl92ifyxpxkkzv2didr7lb405h0dwz1bs1wldr5fb53f"))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'install-dictionaries
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(site-lisp
|
||||
(string-append
|
||||
out "/share/emacs/site-lisp/dict")))
|
||||
(mkdir-p site-lisp)
|
||||
(copy-recursively "dict" site-lisp)
|
||||
#t))))))
|
||||
'(#:include (cons "^dict/" %default-include)))
|
||||
(propagated-inputs
|
||||
`(("emacs-f" ,emacs-f)
|
||||
("emacs-mmt" ,emacs-mmt)))
|
||||
|
|
Loading…
Reference in a new issue