diff --git a/lib/systems/parse.nix b/lib/systems/parse.nix index 3ceddbb599b9c..1d6ef81ed3e24 100644 --- a/lib/systems/parse.nix +++ b/lib/systems/parse.nix @@ -470,6 +470,7 @@ rec { if lib.versionAtLeast (parsed.cpu.version or "0") "6" then abis.gnueabihf else abis.gnueabi + else if args.cpu=="mips64el" then abis.gnuabi64 # gnuabin32 is also possible on mips64 else abis.gnu else abis.unknown; }; diff --git a/lib/systems/platforms.nix b/lib/systems/platforms.nix index 04d55416242e1..2c7161021c28f 100644 --- a/lib/systems/platforms.nix +++ b/lib/systems/platforms.nix @@ -566,6 +566,8 @@ rec { else if platform.parsed.cpu == lib.systems.parse.cpuTypes.mipsel then fuloong2f_n32 + else if platform.parsed.cpu == lib.systems.parse.cpuTypes.mips64el then (import ./examples.nix { lib = lib; }).mips64el-linux-gnuabi64 + else if platform.parsed.cpu == lib.systems.parse.cpuTypes.powerpc64le then powernv else pc;