From 8a543acc2bd7dc5493d67fff220f458697c20089 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Sat, 5 Aug 2023 00:20:40 -0700 Subject: [PATCH] lib.systems: add qemu's funky custom name for mips n32 Qemu's name for mips64[el] using the n32 ABI is "mipsn32[el]". That's the first time I've seen that name for it. Oh well. --- lib/systems/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/systems/default.nix b/lib/systems/default.nix index 40a2c88f32b8f..94e8fb8bc0258 100644 --- a/lib/systems/default.nix +++ b/lib/systems/default.nix @@ -183,6 +183,7 @@ rec { else if final.isS390 && !final.isS390x then null else if final.isx86_64 then "x86_64" else if final.isx86 then "i386" + else if final.isMips64n32 then "mipsn32${lib.optionalString final.isLittleEndian "el"}" else if final.isMips64 then "mips64${lib.optionalString final.isLittleEndian "el"}" else final.uname.processor;