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

View file

@ -257,7 +257,8 @@ (define-public translate-shell
(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)))))