build: emacs-build-system: Unify the installation directory.
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Sat, 23 Nov 2019 03:04:50 +0000 (12:04 +0900)
committerClément Lassieur <clement@lassieur.org>
Wed, 4 Dec 2019 10:06:49 +0000 (11:06 +0100)
commit65a7dd2950ca13a8b942b2836260a2192351b271
treed20be083ec86168ffb045eb11cf6a0d578ab0fee
parentfabd4900d8fb739a55e2dff76dee3a29b2a90bb1
build: emacs-build-system: Unify the installation directory.

This change aims to reduce the length of the EMACSLOADPATH environment
variable, which was found to cause issues such as
<https://bugs.gnu.org/38309>.

It should also enable discovery of newly installed packages without refreshing
the session's EMACSLOADPATH of the user profile (e.g., when launching Emacs
from the desktop manager application launcher), as discussed in
<https://bugs.gnu.org/38309>.

* guix/build/emacs-build-system.scm (%legacy-install-suffix): Rename to...
(%install-dir): ...this.
(%install-suffix): Remove variable.
(build): Adjust installation target directory.
(patch-el-files): Likewise.
(install): Likewise.
(move-doc): Likewise.
(make-autoloads): Likewise.

Signed-off-by: Clément Lassieur <clement@lassieur.org>
guix/build/emacs-build-system.scm