NixOS on ARM: Difference between revisions
imported>NickHu add details to work around nix double decompress bug 2393 |
imported>Mweinelt Add chapter for binfmt wrapped QEMU for crosscompilation |
||
| Line 290: | Line 290: | ||
Note that this require an machine with aarch64. You can however also build it from your laptop using an aarch64 remote builder as described in [[Distributed build]] or ask for access on the [https://github.com/nix-community/aarch64-build-box community aarch64 builder]. | Note that this require an machine with aarch64. You can however also build it from your laptop using an aarch64 remote builder as described in [[Distributed build]] or ask for access on the [https://github.com/nix-community/aarch64-build-box community aarch64 builder]. | ||
=== Crosscompiling === | |||
It is also possible to crosscompile aarch64 on your local machine or a remote builder by registering QEMU as a binfmt wrapper for the aarch64 architecture. This wrapper uses emulation and will therefore be slower than comparable native machines. A [https://github.com/cleverca22/nixos-configs/blob/master/qemu.nix module] and and [https://github.com/cleverca22/nixos-configs/tree/master/overlays/qemu overlay] are provided by user '''@clever'''. | |||
== Board-specific installation notes == | == Board-specific installation notes == | ||