Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

What is the purpose of having emacsGccDarwinWrapped? #8

Open
inscapist opened this issue Apr 28, 2021 · 1 comment
Open

What is the purpose of having emacsGccDarwinWrapped? #8

inscapist opened this issue Apr 28, 2021 · 1 comment

Comments

@inscapist
Copy link

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
Copy link
Author

inscapist commented Apr 29, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant