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

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
}: