flakebox icon indicating copy to clipboard operation
flakebox copied to clipboard

question: how do you specify abi when cross compiling

Open GlennWSo opened this issue 1 year ago • 1 comments

I want to cross compile to target: aarch64-unknown-linux-musl

But using when a follow the get started tutorial and do a build with:

nix build .#aarch64-linux.dev.hello-flakebox a get a file of aarch64-unknown-linux-gnu

How do i declare the -musl part?

GlennWSo avatar Mar 13 '24 14:03 GlennWSo

It needs to be added as a new "target", possibly with matching "toolchain".

dpc avatar Mar 13 '24 17:03 dpc