-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
emacs: fix native compilaton on Darwin #361752
Conversation
I'm building this right now to test. Bit unfortunate how the way the emacs package is structured doesn't make it easy to just patch this in, but we should know more in a few hours (: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I have tested it with pkgs.emacs
on darwin.
Please re-target it to the |
While this needs some work on the emacs-overlay side, it does work with the emacs package in nixpkgs, so 👍 from me! |
d9aaa9a
to
b904748
Compare
I re-targeted this PR to the |
Successfully created backport PR for |
This mirrors NixOS/nixpkgs#361752 and removes the warning emitted about a malfunctioning libgccjit on Darwin when building emacs from git. Co-authored-by: Lin Jian <me@linj.tech>
@antifuchs How were you able to get this to work? I can confirm that my ![]() EDIT: I just checked, and |
@haze I failed to see the path this PR added in your picture. nix-repl> "${pkgs.apple-sdk.sdkroot}/usr/lib"
"/nix/store/hash-apple-sdk-11.3/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib" Please note that this PR has not reached both
To apply this fix right now, one way is to use the emacs-overlay. |
Ah, I had mistakingly thought that this was merged into |
Fixes #360412.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.