From f5d07900bf66cfea46fc28c947e38d731fedf25f Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Fri, 20 Jun 2025 15:31:57 +0200 Subject: [PATCH] lib.systems.examples: Split glibc powerpc64 back into 2 ABI options ELFv1 is the historically better supported one on glibc, ELFv2 seems to have some issues with our toolchain. Restore the option to pick the ABI with pkgsCross. --- lib/systems/examples.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index bfb7a73d547e..e7e5d502ad5d 100644 --- a/lib/systems/examples.nix +++ b/lib/systems/examples.nix @@ -21,9 +21,13 @@ rec { config = "powerpc64le-unknown-linux-musl"; }; - ppc64 = { + ppc64-elfv1 = { + config = "powerpc64-unknown-linux-gnuabielfv1"; + }; + ppc64-elfv2 = { config = "powerpc64-unknown-linux-gnuabielfv2"; }; + ppc64 = ppc64-elfv2; ppc64-musl = { config = "powerpc64-unknown-linux-musl"; gcc = {