diff options
author | Lin Jian <me@linj.tech> | 2022-10-04 03:25:16 +0800 |
---|---|---|
committer | Lin Jian <me@linj.tech> | 2022-10-04 03:25:16 +0800 |
commit | 92e4b65d22e0f47469337e6f7cff58fc3ac4e8fb (patch) | |
tree | 97d6cb03d076a9cceb13cf137f0c900549026f77 /pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix | |
parent | 2f42903346a8927d7450bb426594dad0e8ca698f (diff) | |
download | nixlib-92e4b65d22e0f47469337e6f7cff58fc3ac4e8fb.tar nixlib-92e4b65d22e0f47469337e6f7cff58fc3ac4e8fb.tar.gz nixlib-92e4b65d22e0f47469337e6f7cff58fc3ac4e8fb.tar.bz2 nixlib-92e4b65d22e0f47469337e6f7cff58fc3ac4e8fb.tar.lz nixlib-92e4b65d22e0f47469337e6f7cff58fc3ac4e8fb.tar.xz nixlib-92e4b65d22e0f47469337e6f7cff58fc3ac4e8fb.tar.zst nixlib-92e4b65d22e0f47469337e6f7cff58fc3ac4e8fb.zip |
elisp-packages: fix AOT native-comp for several packages
Currently, AOT native-comp for emacs packages is implemented[1] in postInstall. These packages override postInstall and do not keep old.postInstall, so they do not do AOT native-comp. This patch fixes this by keeping the old.postInstall in their overrides. Note that I do not fix emacspeak because I have not found an elegant way to do so. [1]: a7cb8e36ac17526ffc2255c9c48c94be675c4d67
Diffstat (limited to 'pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix')
-rw-r--r-- | pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix index 2bfc2f18e97d..94ca0cdf0b6d 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix @@ -96,7 +96,7 @@ self: let ./build.sh -j$NIX_BUILD_CORES ''; - postInstall = '' + postInstall = (old.postInstall or "") + "\n" + '' ./install.sh --prefix=$out ''; |