mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
`qemuArch` returned "aarch64" for both LE and BE, causing binfmt to register `qemu-aarch64` for `aarch64_be` binaries. QEMU ships separate `qemu-aarch64` and `qemu-aarch64_be` binaries, so the wrong interpreter was used, failing with "Invalid ELF image for this architecture". Since QEMU distinguishes endianness in the binary name, this adds the "_be" suffix via `isBigEndian`, which is similar to the approach MIPS uses a few lines below. |
||
|---|---|---|
| .. | ||
| architectures.nix | ||
| default.nix | ||
| doubles.nix | ||
| examples.nix | ||
| flake-systems.nix | ||
| inspect.nix | ||
| parse.nix | ||
| platforms.nix | ||