summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-16 22:00:12 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-16 22:00:12 +0200
commit6e02ef79f574855db28e23d891db690925119e7b (patch)
treed2cd530fbd44bf92ae14498ccdfa6928e02969b6
parentef201cfee7daca9250ecd416ba255966ecd9194a (diff)
downloadguix-6e02ef79f574855db28e23d891db690925119e7b.tar.gz
gnu: translate-shell: Fix emacs install phase.
* gnu/packages/dictionaries.scm (translate-shell)[arguments]: Update the
'emacs-install phase to install the .el files into the correct folder.
-rw-r--r--gnu/packages/dictionaries.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm
index 1aa54d9167..af6cef71d3 100644
--- a/gnu/packages/dictionaries.scm
+++ b/gnu/packages/dictionaries.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
-;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2018, 2020 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
 ;;; Copyright © 2017, 2018, 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
@@ -283,8 +283,7 @@ 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/guix.d/"
-                                          ,name "-" ,version))
+                    (dest  (string-append out "/share/emacs/site-lisp"))
                     (emacs (string-append (assoc-ref inputs "emacs") "/bin/emacs")))
                (install-file "google-translate-mode.el" dest)
                (emacs-generate-autoloads ,name dest)))))