Skip to content

Conversation

link2xt
Copy link
Collaborator

@link2xt link2xt commented Oct 13, 2025

This fixes the build of deltachat-rpc-server-x86_64-darwin which cross-compiles a binary to x86-64 macOS. I have also tested this on arm64 macOS manually.

deltachat-rpc-server-aarch64-darwin build still fails because of upstream issue NixOS/nixpkgs#413910, otherwise #6095 would be solved.

Based on #7311 cleanup PR.

@link2xt

This comment was marked as outdated.

@link2xt link2xt force-pushed the link2xt/nix-macos-cross-compile branch from 3a99a02 to 3914aaa Compare October 14, 2025 01:32
@link2xt

This comment was marked as outdated.

@link2xt link2xt force-pushed the link2xt/nix-macos-cross-compile branch from 574bd17 to ea7acb3 Compare October 14, 2025 14:10
@link2xt link2xt marked this pull request as draft October 14, 2025 17:49
@link2xt
Copy link
Collaborator Author

link2xt commented Oct 14, 2025

deltachat-rpc-server-x86_64-darwin builds now, will be ready for review after some cleanup.

nix build .#deltachat-rpc-server-aarch64-darwin fails because of NixOS/nixpkgs#413910, this will have to wait for upstream.

@link2xt link2xt changed the title ci(nix): try to cross-compile on macOS Fix Nix cross-compilation build for x86-64 macOS Oct 14, 2025
@link2xt link2xt force-pushed the link2xt/nix-macos-cross-compile branch from 29038c6 to 6feb725 Compare October 14, 2025 18:54
@link2xt link2xt changed the base branch from main to link2xt/nix-darwin-cleanup October 14, 2025 18:55
@link2xt link2xt force-pushed the link2xt/nix-macos-cross-compile branch 2 times, most recently from 6905a50 to 1dbfff8 Compare October 14, 2025 20:41
@link2xt link2xt marked this pull request as ready for review October 14, 2025 20:41
Base automatically changed from link2xt/nix-darwin-cleanup to main October 15, 2025 16:43
@link2xt link2xt force-pushed the link2xt/nix-macos-cross-compile branch from 1dbfff8 to 610c60a Compare October 15, 2025 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant