diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-03-22 12:46:39 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-03-22 21:17:39 -0400 |
commit | 393c5e69281d997b345362626d7ffb988ab862f6 (patch) | |
tree | 321e2bf3f83a915de50f5e475bfeba3e879b658e /gnu/packages/emacs.scm | |
parent | 3bd3a6257f33901ca66183b17f03f1dc6a059067 (diff) |
gnu: emacs-minimal: Install the custom site-start file.
This makes the EMACS-MINIMAL package more generally useful, by adding support
to load autoload definitions. Note that this doesn't negatively impact the
performance of the emacs-build-system, because at that time the --quick option
is used, which disables loading site-start.el (which is the one calling
GUIX-EMACS-AUTOLOAD-PACKAGES).
* gnu/packages/emacs.scm (emacs-minimal)[phases]: Do not delete the
'install-site-start phase.
[inputs]: Add the emacs/guix-emacs.el auxiliary file.
Diffstat (limited to 'gnu/packages/emacs.scm')
-rw-r--r-- | gnu/packages/emacs.scm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index cf84af950d..3be3ff0188 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -336,13 +336,11 @@ languages.") (build-system gnu-build-system) (arguments (substitute-keyword-arguments (package-arguments emacs) - ((#:phases phases) - `(modify-phases ,phases - (delete 'install-site-start))) ((#:configure-flags flags ''()) `(list "--with-gnutls=no" "--disable-build-details")))) (inputs - `(("ncurses" ,ncurses))) + `(("guix-emacs.el" ,(search-auxiliary-file "emacs/guix-emacs.el")) + ("ncurses" ,ncurses))) (native-inputs `(("pkg-config" ,pkg-config))))) |