diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2017-06-03 23:43:02 -0700 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2017-06-08 19:45:27 +0530 |
commit | df34f478944217b8621315acbe21d1f1dd63f4be (patch) | |
tree | ca53835a5b583bde2053129ceb76fb27b022efc4 /guix/build-system/ocaml.scm | |
parent | dfe93c9ac0578b624f952d0bf98142f8f1c20775 (diff) | |
download | gnu-guix-df34f478944217b8621315acbe21d1f1dd63f4be.tar gnu-guix-df34f478944217b8621315acbe21d1f1dd63f4be.tar.gz |
build-system: emacs: Factorize include/exclude default arguments.
The `install' phase of the emacs-build-system contained default arguments
duplicated from the host side `emacs-build' procedure. This change factorizes
them so that:
1. They are not duplicated.
2. They can be reused and extended easily when defining emacs packages.
* guix/build/emacs-build-system.scm (%default-include, %default-exclude): New
variables.
(install): Use %default-include and %default-exclude as default arguments.
* guix/build-system/emacs.scm: Use and re-export %default-include,
%default-exclude from (guix build emacs-build-system).
(emacs-build): Use %default-include and %default-exclude as default arguments.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
Diffstat (limited to 'guix/build-system/ocaml.scm')
0 files changed, 0 insertions, 0 deletions