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

fix cross-compilation #309

Merged
merged 2 commits into from
Oct 31, 2023
Merged

fix cross-compilation #309

merged 2 commits into from
Oct 31, 2023

Conversation

flokli
Copy link
Contributor

@flokli flokli commented Oct 31, 2023

This contains fixes for cross-compilation, initially proposed by @amjoseph-nixpkgs as two patches to Cargo.nix (https://cl.tvl.fyi/9888, https://cl.tvl.fyi/9889)

These patches, together with a nixpkgs past NixOS/nixpkgs#220429 (b10994c38c61038970a19fa60bfbec21a61755cc) allowed cross-compiling tvix-cli for aarch64-linux.

@Ericson2314 Ericson2314 merged commit dfbd52a into nix-community:master Oct 31, 2023
2 checks passed
@Ericson2314
Copy link
Collaborator

Thanks!

@flokli flokli deleted the cross-fixes branch October 31, 2023 19:44
@ghost
Copy link

ghost commented Nov 2, 2023

This contains fixes for cross-compilation, initially proposed by @amjoseph-nixpkgs as two patches to Cargo.nix (https://cl.tvl.fyi/9888, https://cl.tvl.fyi/9889)

Heh, stupid me, I didn't realize I was editing machine-generated code there...

tvlbot pushed a commit to tvlfyi/tvix that referenced this pull request Nov 2, 2023
Together with temporarily pointing nixpkgs past
b10994c38c61038970a19fa60bfbec21a61755cc, this now fixes cross-
compilation for tvix.

This incorporates the changes proposed in https://cl.tvl.fyi/9888 and
https://cl.tvl.fyi/9889, but by fixing it in crate2nix, and using the
(re-)generated version of it.

Changes were sent upstream at
nix-community/crate2nix#309,
this pulls in a minimal patch for now.

Change-Id: I70bb6f003bbc3e89de9c4eb4985ea4708ac3a9fd
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9890
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
@flokli
Copy link
Contributor Author

flokli commented Dec 11, 2023

@kolloch can we get a release including this?

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.

2 participants