What is the purpose of having `emacsGccDarwinWrapped`?
inscapist opened this issue · 1 comments
inscapist commented
Hi @twlz0ne, thanks for this project!
I am looking at your source code and I can't help noticing the block below, which is not in emacs-overlay
or in the official pkgs.emacs source.
May I know what this does? Thank you
emacsGccDarwinWrapped = pkgs.symlinkJoin {
name = "emacsGccDarwinWrapped";
paths = [ emacsGccDarwin ];
buildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/emacs \
--set LIBRARY_PATH ${libPath}
'';
meta.platforms = pkgs.stdenv.lib.platforms.linux;
passthru.nativeComp = true;
src = emacsGccDarwin.src;
};
inscapist commented
Inspired by your design, I made another emacs build similar to yours.
https://github.com/sagittaros/emacs-osx
I don't have your --set LIBRARY_PATH
wrap. Yet from my initial testing, it is working fine so far. Not sure what I missed