gnu: emacs: Wrap EMACSLOADPATH.
authorLeo Prikler <leo.prikler@student.tugraz.at>
Sat, 17 Apr 2021 17:06:17 +0000 (19:06 +0200)
committerLeo Prikler <leo.prikler@student.tugraz.at>
Sat, 1 May 2021 13:56:37 +0000 (15:56 +0200)
commit307a2d2e2a833c2e1f7a79f46e4c6945c618cd8c
treeae2cbd9eb2f986932dd83b3bbcfb0fb56300445f
parent68228d80dd575f0042d71b4563d82a8fef577a47
gnu: emacs: Wrap EMACSLOADPATH.

With this, the search path specification of EMACSLOADPATH does no longer
depend on the version of Emacs, which should make upgrading major versions
less painful.  See also:
- <https://bugs.gnu.org/43627>
- <https://bugs.gnu.org/47458>

* gnu/packages/emacs.scm (emacs)[#:phases]: Add ‘wrap-load-path’.
[native-search-path]<EMACSLOADPATH>: Do not search for builtin libraries.
(emacs-next)[native-search-path]: Inherit from emacs.
gnu/packages/emacs.scm