Repository navigation
herdr-core, herdr-desktop: support aarch64-darwin - #1
Closed
iamppborah wants to merge 7 commits into
Closed
iamppborah wants to merge 7 commits into
iamppborah wants to merge 7 commits into
Conversation
Assisted-by: Claude Code (claude-opus-5-5) Co-authored-by: Philip Munksgaard <[email protected]>
Assisted-by: Claude Code (claude-opus-5-5) Co-authored-by: Philip Munksgaard <[email protected]>
Assisted-by: Claude Code (claude-opus-5-5)
On Darwin, Ghostty's libsystem_override.sh extracts compiler_rt.o from the libghostty-vt archive, so disabling bundle_compiler_rt fails the build with "ar: compiler_rt.o: not found in archive". Only disable it on Linux; bundle_ubsan_rt stays disabled everywhere.
The build does not need it, and the fix (zed-industries/zed#65186) is still unmerged upstream.
Author
|
6 of 13 tasks
tophcodes
force-pushed
the
init-herdr
branch
2 times, most recently
from
November 1, 2026 12:52
bd48947 to
fa13b4a
Compare
Owner
|
Thank you, I added your changes to NixOS#581031 and added some more mac changes myself. Can you check the build and desktop app against the nixpkgs PR? |
Author
|
Yeah, adding the nixpkgs review (aarch64-darwin) in sometime :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Darwin support for NixOS#581031, as asked there. This branch is your 4d7cc4a plus one commit of mine, so merging it brings both into
init-herdr.My commit keeps
compiler_rtbundled on Darwin. Ghostty'slibsystem_override.shextractscompiler_rt.ofrom the libghostty-vt archive there, sobundle_compiler_rt = falsefails the build withar: compiler_rt.o: not found in archive. The substitution now runs only on Linux, in both packages;bundle_ubsan_rt = falsestays on everywhere. Feel free to squash it into your Darwin commit.Tested on aarch64-darwin (MacBook Air M1):
Herdr.appis built with a validInfo.plist;herdr-applinks only system frameworks plus libiconv.init-herdrhead fails earlier, atld: unknown option: --strip-debug.compiler_rtsubstitution (checked withnix eval, not built).One question on 4d7cc4a: the gpui Touch Bar patch isn't needed to build, and zed-industries/zed#65186 is still open upstream. It's ~150 lines changing how accessibility is attached to every window, and I can't test it (no Touch Bar here). Maybe leave it out until Zed merges it, or report it to herdr-app?
🤖 Generated with Claude Code