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.
This commit is contained in:
Efraim Flashner 2018-07-26 16:14:11 +03:00
parent d60772dcdd
commit 714b49f68d
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 2 additions and 1 deletions

View File

@ -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)))))