nim: fix power arch predicates

isPowerPC is only true on 32 bit machines;
to check the family we should use isPower here

Otherwise, e.g. `pkgsCross.powernv.buildPackages.nim` fails to eval with
`error: evaluation aborted with the following error message: 'no Nim CPU support known for powerpc64le-unknown-linux-gnu'`

authored by

Ryan Burns and committed by
ehmry
b8779dbf 921791e8

+2 -2
+2 -2
pkgs/development/compilers/nim/default.nix
··· 22 22 "mips64" 23 23 else if isMsp430 then 24 24 "msp430" 25 - else if isPowerPC && is32bit then 25 + else if isPower && is32bit then 26 26 "powerpc" 27 - else if isPowerPC && is64bit then 27 + else if isPower && is64bit then 28 28 "powerpc64" 29 29 else if isRiscV && is64bit then 30 30 "riscv64"