lib/systems: add darwinArch

This commit is contained in:
Andrew Childs 2020-12-11 20:15:34 +09:00
parent b9b22451f0
commit 1303257d88

View File

@ -107,6 +107,11 @@ rec {
powerpc64le = "ppc64le";
}.${final.parsed.cpu.name} or final.parsed.cpu.name;
darwinArch = {
armv7a = "armv7";
aarch64 = "arm64";
}.${final.parsed.cpu.name} or final.parsed.cpu.name;
emulator = pkgs: let
qemu-user = pkgs.qemu.override {
smartcardSupport = false;