systems: correct qemu architectures

ppc64le and ppc64 are different targets in the configure script. We
can’t use the same one.

TODO: canonicalize similar ones based on qemu’s configure script.
wip/yesman
Matthew Bauer 5 years ago
parent 23560ea057
commit 5eea658778
  1. 5
      lib/systems/default.nix

@ -78,10 +78,9 @@ rec {
else if final.isx86 then "i386"
else {
"powerpc" = "ppc";
"powerpcle" = "ppc";
"powerpc64" = "ppc64";
"powerpc64le" = "ppc64";
"mips64" = "mips";
"mipsel64" = "mipsel";
"powerpc64le" = "ppc64le";
}.${final.parsed.cpu.name} or final.parsed.cpu.name;
emulator = pkgs: let

Loading…
Cancel
Save