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.
This commit is contained in:
Adam Joseph 2023-08-05 00:20:40 -07:00
parent 0d2fb29f50
commit 8a543acc2b

View File

@ -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;