summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-07-26 16:14:11 +0300
committerEfraim Flashner <efraim@flashner.co.il>2018-07-26 16:14:11 +0300
commit714b49f68db9d8ec12fb1e006b8fa8778bdf64ee (patch)
treea41b9ae650949d547f999af15a9cb03d3a97ae57 /gnu
parentd60772dcdd55c0f8e236d40b76eb06eab790ab77 (diff)
downloadguix-714b49f68db9d8ec12fb1e006b8fa8778bdf64ee.tar.gz
gnu: translate-shell: Fix .el install directory.
* gnu/packages/dictionaries.scm (translate-shell)[arguments]: Change the
install directory during the custom 'emacs-install phase to match with
other emacs .el packages.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/dictionaries.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm
index 5c47b24ff7..42dc291975 100644
--- a/gnu/packages/dictionaries.scm
+++ b/gnu/packages/dictionaries.scm
@@ -257,7 +257,8 @@ and a Python library.")
          (add-after 'install 'emacs-install
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (let* ((out   (assoc-ref outputs "out"))
-                    (dest  (string-append out "/share/emacs/site-lisp"))
+                    (dest  (string-append out "/share/emacs/site-lisp/guix.d/"
+                                          ,name "-" ,version))
                     (emacs (string-append (assoc-ref inputs "emacs") "/bin/emacs")))
                (install-file "google-translate-mode.el" dest)
                (emacs-generate-autoloads ,name dest)))))