emacs: Link native-lisp directory into Mac app (#103933)
Without the symlink, the application can't be launched. Fixes <https://github.com/nix-community/emacs-overlay/issues/71> Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
This commit is contained in:
parent
ae7aa4d6bb
commit
571b17de5e
1 changed files with 2 additions and 0 deletions
|
@ -154,6 +154,8 @@ in stdenv.mkDerivation {
|
|||
'' + lib.optionalString withNS ''
|
||||
mkdir -p $out/Applications
|
||||
mv nextstep/Emacs.app $out/Applications
|
||||
'' + lib.optionalString (nativeComp && withNS) ''
|
||||
ln -snf $out/lib/emacs/*/native-lisp $out/Applications/Emacs.app/Contents/native-lisp
|
||||
'';
|
||||
|
||||
postFixup = lib.concatStringsSep "\n" [
|
||||
|
|
Loading…
Reference in a new issue