Skip to content
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

Build Jsonrpc-server for darwin #6204

Closed
wants to merge 5 commits into from
Closed

Build Jsonrpc-server for darwin #6204

wants to merge 5 commits into from

Conversation

Septias
Copy link
Collaborator

@Septias Septias commented Nov 13, 2024

This PR adds x84_64-darwin and aarch-darwin as packages to flake.nix

This depends on #6203, we should merge it first so I can rebase and we get an easy diff for this one.

close #6095

@@ -243,16 +255,6 @@
];
auditable = false; # Avoid cargo-auditable failures.
doCheck = false; # Disable test as it requires network access.

CARGO_BUILD_TARGET = rustTarget;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to remove this so the build succeeds, what were the intentions and is it really needed? @link2xt

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This enables cross-compilation, otherwise building on arm builds for arm and building on x86_64 builds for x86_64. rustTarget should be used at least somewhere, this change seems to remove all usage of it.

Better manually check that the resulting build is for the correct arch once it finishes.

@Septias Septias closed this Nov 13, 2024
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.

Build deltachat-rpc-server for macOS with Nix
2 participants