mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 05:39:41 -05:00
gnu: emacs: Delete the subdirs.el file under the site-lisp directory.
This fixes bug #38533 (see: https://bugs.gnu.org/38533). * gnu/packages/emacs.scm (emacs)[phases]{install-site-start}: Delete the subdirs.el file. Reported-by: Diego Nicola Barbato <dnbarbato@posteo.de>
This commit is contained in:
parent
9beec2173f
commit
a7a492899a
1 changed files with 5 additions and 0 deletions
|
@ -143,6 +143,11 @@ (define-public emacs
|
|||
(display
|
||||
(string-append "(when (require 'guix-emacs nil t)\n"
|
||||
" (guix-emacs-autoload-packages))\n"))))
|
||||
;; Remove the extraneous subdirs.el file, as it causes Emacs to
|
||||
;; add recursively all the the sub-directories of a profile's
|
||||
;; share/emacs/site-lisp union when added to EMACSLOADPATH,
|
||||
;; which leads to conflicts.
|
||||
(delete-file (string-append lisp-dir "/subdirs.el"))
|
||||
#t))))))
|
||||
(inputs
|
||||
`(("gnutls" ,gnutls)
|
||||
|
|
Loading…
Reference in a new issue