Open DirectorX opened 3 years ago
Looks like an issue in nix, I'll take a look
Thanks, for now I’ve disabled the build for aarch64-musl
Current master fails on aarch64-unknown-linux-musl
due to dependency on https://github.com/andrewjstone/amy==0.10.0 (latest), which depends on nix==0.10.0. Looks like this was fixed in nix==0.12; simply patching amy to update to 0.12 allows synapse to compile on aarch64-unknown-linux-musl
.
I've submitted a PR to amy, but given that the last commit was in 2018 I'm not sure if it will be merged in a timely fashion or at all. If merged I'll happily make a PR here.
In the meantime, anybody in a rush can patch with my fork (whose only change is to update nix as described)
$ cargo build --all \
--target aarch64-unknown-linux-musl \
--config 'target.aarch64-unknown-linux-musl.linker="rust-lld"' \
--config 'patch.crates-io.amy.git = "https://github.com/n8henrie/amy"' \
--config 'patch.crates-io.amy.branch = "patch-1"'
https://github.com/void-linux/void-packages/runs/1754525587?check_suite_focus=true