Open avnik opened 11 months ago
I don't know if our cross-compilation support can work with import ... { system = ... }
. You might be luckier using pkgsCross.aarch64_multiplatform{,_musl}
.
@anmonteiro main problem -- we cross-compile whole system, not just few packages
Both failures are build of ocaml itself I cut most interesting parts from logs (patching, detecting architectures, and failure itself), but could provide full logs if needed. You can see, that patches from overlay not applied, and so build of cross compiler fails.
I isolated problem to minimal flake, which illustrating how I used it -- https://github.com/avnik/nixpkgs-cross-build-repro/tree/avnik/ocaml-cross-overlay-repro Could you hint, if I used overlay in wrong way or help me debug this issue if usage of overlay is correct. Will be grateful for your help.
And build for target