diff options
author | Lin Jian <me@linj.tech> | 2023-08-25 17:50:29 +0800 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-08-28 15:46:04 +0000 |
commit | e8f6a5ce341d3db1cb4c707eb58b3162f93353a3 (patch) | |
tree | ead486cca92da2c403a1ba5c54aa720f77504b1f | |
parent | f5fbea9761033a847ce91508471ed57f3ae67e95 (diff) |
emacsWithPackages: do not symlink $emacs/share/emacs
I see no reason to symlink this dir. Doing so may shadow unwanted libraries since the site-start.el of Emacs adds paths under NIX_PROFILES to load-path. It is added in [1] to fix "building emacs". However, I have no issue in building and using Emacs after removing it. [1]: https://github.com/NixOS/nixpkgs/pull/89351
-rw-r--r-- | pkgs/build-support/emacs/wrapper.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/emacs/wrapper.nix b/pkgs/build-support/emacs/wrapper.nix index bbfc35c94c41c..2f8f15d7da54e 100644 --- a/pkgs/build-support/emacs/wrapper.nix +++ b/pkgs/build-support/emacs/wrapper.nix @@ -224,7 +224,7 @@ runCommand mkdir -p $out/share # Link icons and desktop files into place - for dir in applications icons info man emacs; do + for dir in applications icons info man; do ln -s $emacs/share/$dir $out/share/$dir done '' |