diff options
author | Alex Kost <alezost@gmail.com> | 2016-06-20 15:49:04 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2016-06-22 11:15:28 +0300 |
commit | 2831675bfd4d4ba78f6511cf7698ee745d1fbf33 (patch) | |
tree | a2739b1ed23acbed6f01bb239fe742c807a993c2 | |
parent | b3470031df1b64279edef35d98d7cb2977d422e3 (diff) | |
download | guix-2831675bfd4d4ba78f6511cf7698ee745d1fbf33.tar.gz guix-2831675bfd4d4ba78f6511cf7698ee745d1fbf33.zip |
build: emacs: Search for elisp in "share/emacs/site-lisp".
* guix/build/emacs-build-system.scm (emacs-inputs-el-directories):
Add ".../share/emacs/site-lisp" directory to the returned result as
elisp files can also be placed there.
-rw-r--r-- | guix/build/emacs-build-system.scm | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/guix/build/emacs-build-system.scm b/guix/build/emacs-build-system.scm index ab970012a7..44e8b0d31e 100644 --- a/guix/build/emacs-build-system.scm +++ b/guix/build/emacs-build-system.scm @@ -1,5 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch> +;;; Copyright © 2016 David Thompson <davet@gnu.org> +;;; Copyright © 2016 Alex Kost <alezost@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -152,10 +154,11 @@ store in '.el' files." (define (emacs-inputs-el-directories dirs) "Build the list of Emacs Lisp directories from the Emacs package directory DIRS." - (map (lambda (d) - (string-append d %install-suffix "/" - (store-directory->elpa-name-version d))) - dirs)) + (append-map (lambda (d) + (list (string-append d "/share/emacs/site-lisp") + (string-append d %install-suffix "/" + (store-directory->elpa-name-version d)))) + dirs)) (define (package-name-version->elpa-name-version name-ver) "Convert the Guix package NAME-VER to the corresponding ELPA name-version |