mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 00:34:00 +00:00
f5fbea9761
"$out/share/emacs/site-lisp" is added to load-path in wrapper.sh[1] using EMACSLOADPATH and "$out/share/emacs/native-lisp/" is added to native-comp-eln-load-path in wrapper.sh[2] using EMACSNATIVELOADPATH. There is no point to add them again here. Additionally, the trailing "/" in "$out/share/emacs/native-lisp/" causes duplicate entries in native-comp-eln-load-path: ("/nix/store/hash1-emacs-packages-deps/share/emacs/native-lisp/" ; [3] "/home/user/.emacs.d/eln-cache/" "/nix/store/hash1-emacs-packages-deps/share/emacs/native-lisp" ; [2] "/nix/store/hash2-emacs-29.1-rc1/lib/emacs/29.1/native-lisp/") load-path does not change with this patch applied. [1]: |
||
---|---|---|
.. | ||
buffer.nix | ||
elpa2nix.el | ||
elpa.nix | ||
emacs-funcs.sh | ||
generic.nix | ||
melpa2nix.el | ||
melpa.nix | ||
mk-wrapper-subdirs.el | ||
package-build-dont-use-mtime.patch | ||
trivial.nix | ||
wrapper.nix | ||
wrapper.sh |