Merge pull request #121494 from sternenseemann/ghcWithPackages-withLLVM

ghcWithPackages: set withLLVM if hostPlatform is not x86_64
This commit is contained in:
maralorn 2021-05-03 11:24:37 +02:00 committed by GitHub
commit 35904780ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
{ lib, stdenv, ghc, llvmPackages, packages, symlinkJoin, makeWrapper
, withLLVM ? false
, withLLVM ? !(stdenv.hostPlatform.isx86_64 || stdenv.hostPlatform.isPowerPC)
, postBuild ? ""
, ghcLibdir ? null # only used by ghcjs, when resolving plugins
}: