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
commit8baac2af752450b20cb8b37520059ecd86490b8b
authorRyan Burns <rtburns@protonmail.com>
dateMon 25 Jan 2021, 17:55 (6 years ago)
parent1e38f0b
lib/systems/default.nix+2
@@ -92,6 +92,8 @@ rec {
9292 else if final.isx86_32 then "i386"
9393 else if final.isx86_64 then "x86_64"
9494 else if final.isMips then "mips"
95+ else if final.isPower then "powerpc"
96+ else if final.isRiscV then "riscv"
9597 else final.parsed.cpu.name;
9698
9799 qemuArch =