From 8baac2af752450b20cb8b37520059ecd86490b8b Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Mon, 25 Jan 2021 17:55:04 -0800 Subject: [PATCH] lib/systems: fix linuxArch for power + riscv Looks like these got left behind in the kernelArch -> linuxArch migration. Fixes: * pkgsCross.powernv.linuxHeaders * pkgsCross.riscv64.linuxHeaders * pkgsCross.riscv32.linuxHeaders and dependees --- lib/systems/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/systems/default.nix b/lib/systems/default.nix index 1a89120e2bf6a..1bbe976c4d217 100644 --- a/lib/systems/default.nix +++ b/lib/systems/default.nix @@ -92,6 +92,8 @@ rec { else if final.isx86_32 then "i386" else if final.isx86_64 then "x86_64" else if final.isMips then "mips" + else if final.isPower then "powerpc" + else if final.isRiscV then "riscv" else final.parsed.cpu.name; qemuArch =