git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #72727 from oxalica/mips-parse

lib.systems: handle mips family properly

commit46f1daead7dbac039e3efea94aaaec7a0b4291db authorMatthew Bauer <mjbauer95@gmail.com> dateWed 6 Nov 2019, 10:24 (7 years ago) parentc54848ec98da73
2 files changed+2
lib/systems/default.nix+1 lib/systems/parse.nix+1
lib/systems/default.nix+1
@@ -79,6 +79,7 @@ rec {
7979 else if final.isAarch64 then "arm64"
8080 else if final.isx86_32 then "x86"
8181 else if final.isx86_64 then "ia64"
82+ else if final.isMips then "mips"
8283 else final.parsed.cpu.name;
8384
8485 qemuArch =
lib/systems/parse.nix+1
@@ -327,6 +327,7 @@ rec {
327327 }
328328 ];
329329 };
330+ gnuabi64 = { abi = "64"; };
330331
331332 musleabi = { float = "soft"; };
332333 musleabihf = { float = "hard"; };