nixpkgs/lib/systems
Amaan Qureshi e0801cae76
lib/systems: fix qemuArch for aarch64_be
`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.
2026-03-16 23:49:50 -04:00
..
architectures.nix lib: update type signatures 2026-03-04 00:10:00 +03:00
default.nix lib/systems: fix qemuArch for aarch64_be 2026-03-16 23:49:50 -04:00
doubles.nix lib.systems: add uefi support 2026-01-25 21:59:21 -08:00
examples.nix lib.systems: add uefi support 2026-01-25 21:59:21 -08:00
flake-systems.nix stdenv/freebsd: reinit 2024-07-19 21:32:05 -07:00
inspect.nix lib.systems: add uefi support 2026-01-25 21:59:21 -08:00
parse.nix lib.systems: s/makeMuslParsedPlatform/mkMuslSystem/ 2026-03-06 23:38:09 +01:00
platforms.nix lib/systems/platforms: Add ppc64; linux: Add 64-bit POWER settings, strip vmlinux kernels (#447752) 2026-02-02 12:10:28 +00:00