diff options
author | John Ericson <git@JohnEricson.me> | 2022-03-17 17:43:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-17 17:43:24 -0400 |
commit | 111839dcf6e9a8bac6972e234b8aeb88e5c2269e (patch) | |
tree | e5ae6ca5c6f6f33a6418de9df24607685ed94e61 /lib/systems/inspect.nix | |
parent | 51d5d05d2704d16d7791aa82d8f256612a0964d5 (diff) | |
parent | ff69b8c2bf81f848979f18a47f18941979c5eaf2 (diff) |
Merge pull request #161158 from a-m-joseph/mips64el-support-first-steps
mips64el support
Diffstat (limited to 'lib/systems/inspect.nix')
-rw-r--r-- | lib/systems/inspect.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix index 718954e0839a1..89cac575c67d3 100644 --- a/lib/systems/inspect.nix +++ b/lib/systems/inspect.nix @@ -17,6 +17,10 @@ rec { isAarch32 = { cpu = { family = "arm"; bits = 32; }; }; isAarch64 = { cpu = { family = "arm"; bits = 64; }; }; isMips = { cpu = { family = "mips"; }; }; + isMips32 = { cpu = { family = "mips"; bits = 32; }; }; + isMips64 = { cpu = { family = "mips"; bits = 64; }; }; + isMips64n32 = { cpu = { family = "mips"; bits = 64; }; abi = { abi = "n32"; }; }; + isMips64n64 = { cpu = { family = "mips"; bits = 64; }; abi = { abi = "64"; }; }; isMmix = { cpu = { family = "mmix"; }; }; isRiscV = { cpu = { family = "riscv"; }; }; isSparc = { cpu = { family = "sparc"; }; }; @@ -57,7 +61,7 @@ rec { isAndroid = [ { abi = abis.android; } { abi = abis.androideabi; } ]; isGnu = with abis; map (a: { abi = a; }) [ gnuabi64 gnu gnueabi gnueabihf ]; - isMusl = with abis; map (a: { abi = a; }) [ musl musleabi musleabihf ]; + isMusl = with abis; map (a: { abi = a; }) [ musl musleabi musleabihf muslabin32 muslabi64 ]; isUClibc = with abis; map (a: { abi = a; }) [ uclibc uclibceabi uclibceabihf ]; isEfi = map (family: { cpu.family = family; }) |