haskell.compiler.ghc865Binary: correct useLLVM condition

GHC has a native backend for POWER and SPARC. This is relevant to 8.6.5
binary in the case of POWER where we actually have a bindist and don't
need to include LLVM.

+3 -1
+3 -1
pkgs/development/compilers/ghc/8.6.5-binary.nix
··· 10 10 assert stdenv.targetPlatform == stdenv.hostPlatform; 11 11 12 12 let 13 - useLLVM = !stdenv.targetPlatform.isx86; 13 + useLLVM = !(stdenv.targetPlatform.isx86 14 + || stdenv.targetPlatform.isPower 15 + || stdenv.targetPlatform.isSparc); 14 16 15 17 useNcurses6 = stdenv.hostPlatform.system == "x86_64-linux" 16 18 || (with stdenv.hostPlatform; isPower64 && isLittleEndian);