diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2022-04-22 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2022-04-22 04:20:00 +0000 |
commit | f73ff5c2298a14ea1dc1722cb15cf94b3b879281 (patch) | |
tree | 9ad6331bbdcd0a57bd0dc0d447b6f8a09043e145 /pkgs/build-support/emacs | |
parent | 1ee3f79068a21413f334a010eefab3de64fc9844 (diff) |
emacsWrapper: add missing variable substitutions to Darwin app
Diffstat (limited to 'pkgs/build-support/emacs')
-rw-r--r-- | pkgs/build-support/emacs/wrapper.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/emacs/wrapper.nix b/pkgs/build-support/emacs/wrapper.nix index 2bf8eaf2d7ad2..d61f6967c4b81 100644 --- a/pkgs/build-support/emacs/wrapper.nix +++ b/pkgs/build-support/emacs/wrapper.nix @@ -227,6 +227,8 @@ runCommand substitute ${./wrapper.sh} $out/Applications/Emacs.app/Contents/MacOS/Emacs \ --subst-var-by bash ${emacs.stdenv.shell} \ --subst-var-by wrapperSiteLisp "$deps/share/emacs/site-lisp" \ + --subst-var-by wrapperSiteLispNative "$deps/share/emacs/native-lisp:" \ + --subst-var-by autoloadExpression "-l cl-loaddefs -l nix-generated-autoload" \ --subst-var-by prog "$emacs/Applications/Emacs.app/Contents/MacOS/Emacs" chmod +x $out/Applications/Emacs.app/Contents/MacOS/Emacs fi |