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
This commit is contained in:
Ryan Burns 2021-01-25 17:55:04 -08:00
parent 1e38f0bdf9
commit 8baac2af75

View file

@ -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 =