diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2018-01-13 17:54:18 -0500 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-02-05 16:54:27 +0100 |
commit | b7dee6a0b8af90e5adaa5b35f8dda359de96868d (patch) | |
tree | edd266524750565494bd10011031f271dc546c3d /guix/build-system/emacs.scm | |
parent | a5e03674d1c5a3ea2e188b909a14ce1ac87b8773 (diff) |
emacs-build-system: Add set-emacs-load-path phase.
This generalizes the mechanism by which the Emacs dependencies are made visible,
so that any build phase can make use of them.
* guix/build/emacs-build-system.scm (%legacy-install-suffix): New variable.
(%install-suffix): Redefine in terms of %legacy-install-suffix.
(set-emacs-load-path): Add new phase used for dependency resolution.
(build): Remove ad-hoc dependency discovery mechanism.
(emacs-input->el-directory): Add new procedure.
(emacs-inputs-el-directories): Use it.
(package-name-version->elpa-name-version): Fix typo.
(%standard-phases): Include the new `set-emacs-load-path' phase. Refactor to
make the ordering of the phases clearer.
* guix/build/emacs-utils.scm (emacs-byte-compile-directory): Remove the
optional `dependency-dirs' argument, which is now obsoleted by the
`set-emacs-load-path' phase.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'guix/build-system/emacs.scm')
0 files changed, 0 insertions, 0 deletions