nix-community / crate2nix

rebuild only changed crates in CI with crate2nix and nix
https://nix-community.github.io/crate2nix/
Apache License 2.0
335 stars 82 forks source link

fix cross-compilation #309

Closed flokli closed 8 months ago

flokli commented 8 months ago

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 https://github.com/NixOS/nixpkgs/pull/220429 (b10994c38c61038970a19fa60bfbec21a61755cc) allowed cross-compiling tvix-cli for aarch64-linux.

Ericson2314 commented 8 months ago

Thanks!

ghost commented 8 months ago

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...

flokli commented 7 months ago

@kolloch can we get a release including this?