summary refs log tree commit diff
path: root/gnu/packages/emacs-xyz.scm
diff options
context:
space:
mode:
authorMorgan Smith <Morgan.J.Smith@outlook.com>2021-07-20 20:42:02 -0400
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-07-27 19:10:27 +0200
commit143d21fa954052804f9eb99f839896eb84b8a4bd (patch)
tree101d807b511d11e5a94cd60e644812be277a9bca /gnu/packages/emacs-xyz.scm
parent3968134a4dbce1c5efe0775c77d962cfbc092e0e (diff)
downloadguix-143d21fa954052804f9eb99f839896eb84b8a4bd.tar.gz
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>
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r--gnu/packages/emacs-xyz.scm12
1 files changed, 1 insertions, 11 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 072797af9f..a30d4bcc20 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1217,17 +1217,7 @@ handful of functions that are not resource-specific.")
           (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)))