lib.systems: handle mips family properly
This commit is contained in:
parent
ea25d6bddc
commit
955d032b47
|
@ -79,6 +79,7 @@ rec {
|
||||||
else if final.isAarch64 then "arm64"
|
else if final.isAarch64 then "arm64"
|
||||||
else if final.isx86_32 then "x86"
|
else if final.isx86_32 then "x86"
|
||||||
else if final.isx86_64 then "ia64"
|
else if final.isx86_64 then "ia64"
|
||||||
|
else if final.isMips then "mips"
|
||||||
else final.parsed.cpu.name;
|
else final.parsed.cpu.name;
|
||||||
|
|
||||||
qemuArch =
|
qemuArch =
|
||||||
|
@ -90,6 +91,10 @@ rec {
|
||||||
powerpcle = "ppc";
|
powerpcle = "ppc";
|
||||||
powerpc64 = "ppc64";
|
powerpc64 = "ppc64";
|
||||||
powerpc64le = "ppc64le";
|
powerpc64le = "ppc64le";
|
||||||
|
mips = "mips";
|
||||||
|
mipsel = "mipsel";
|
||||||
|
mips64 = "mips64";
|
||||||
|
mips64el = "mips64el";
|
||||||
}.${final.parsed.cpu.name} or final.parsed.cpu.name;
|
}.${final.parsed.cpu.name} or final.parsed.cpu.name;
|
||||||
|
|
||||||
emulator = pkgs: let
|
emulator = pkgs: let
|
||||||
|
|
|
@ -327,6 +327,7 @@ rec {
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
gnuabi64 = { abi = "64"; };
|
||||||
|
|
||||||
musleabi = { float = "soft"; };
|
musleabi = { float = "soft"; };
|
||||||
musleabihf = { float = "hard"; };
|
musleabihf = { float = "hard"; };
|
||||||
|
|
Loading…
Reference in New Issue