guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/07: gnu: emacs-typit: Fix dictionary location.


From: guix-commits
Subject: 04/07: gnu: emacs-typit: Fix dictionary location.
Date: Tue, 27 Jul 2021 13:34:33 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 143d21fa954052804f9eb99f839896eb84b8a4bd
Author: Morgan Smith <Morgan.J.Smith@outlook.com>
AuthorDate: Tue Jul 20 20:42:02 2021 -0400

    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>
---
 gnu/packages/emacs-xyz.scm | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 072797a..a30d4bc 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]