Adonay Felipe Nogueira (2017-07-13 09:20 -0300) wrote: > It seems that Emacs ESS mode isn't installed in the same location as > other packages are. > > Also note that emacs-ess doesn't use the Emacs build system. I don't > know if this is indeed the issue (and if we can force it to use such > build system), but I think this is an important note to make.
It's not a problem: we just need to install *.el files in ".../share/emacs/site-lisp/guix.d/ess" instead of ".../share/emacs/site-lisp/ess" as it is done by default. The attached patch should fix it. A side note: this is one of the reasons why I don't like "guix.d" sub-directory. I think it is a useless extra level in the file hierarchy. If we used: .../share/emacs/site-lisp/<package> instead of the current choice: .../share/emacs/site-lisp/guix.d/<package> there would be no need to adjust 'emacs-ess', 'magit' and probably some other packages to install *.el in "guix.d". But this is for another discussion :-), sorry: http://lists.gnu.org/archive/html/guix-devel/2016-05/msg00241.html
>From 2b36a9a5de44d162b39b351c49ec2f35c8cab880 Mon Sep 17 00:00:00 2001 From: Alex Kost <[email protected]> Date: Tue, 18 Jul 2017 16:44:22 +0300 Subject: [PATCH] gnu: emacs-ess: Install elisp files in "guix.d". Fixes <http://bugs.gnu.org/27686>. Reported by Adonay Felipe Nogueira <[email protected]> * gnu/packages/emacs.scm (emacs-ess)[arguments]: Add LISPDIR to make flags to install *.el files into "guix.d" sub-directory. --- gnu/packages/emacs.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 75122af8b..a4cf5afcb 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -3105,7 +3105,9 @@ E-Prime forbids the use of the \"to be\" form to strengthen your writing.") (build-system gnu-build-system) (arguments `(#:tests? #f ; There is no test suite. - #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:make-flags (list (string-append "PREFIX=" %output) + (string-append "LISPDIR=" %output + "/share/emacs/site-lisp/guix.d/ess")) #:phases (modify-phases %standard-phases (delete 'configure) -- 2.13.2
