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
@ -143,6 +143,11 @@
|
||||
(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 New Issue
Block a user