mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
ghcWithPackages: set withLLVM if hostPlatform is not x86_64
We also don't add LLVM on PowerPC as GHC should have the ability to generate native code for that platform itself. Resolves #116235.
This commit is contained in:
parent
5d4dc79acb
commit
9a2e728831
@ -1,5 +1,5 @@
|
|||||||
{ lib, stdenv, ghc, llvmPackages, packages, symlinkJoin, makeWrapper
|
{ lib, stdenv, ghc, llvmPackages, packages, symlinkJoin, makeWrapper
|
||||||
, withLLVM ? false
|
, withLLVM ? !(stdenv.hostPlatform.isx86_64 || stdenv.hostPlatform.isPowerPC)
|
||||||
, postBuild ? ""
|
, postBuild ? ""
|
||||||
, ghcLibdir ? null # only used by ghcjs, when resolving plugins
|
, ghcLibdir ? null # only used by ghcjs, when resolving plugins
|
||||||
}:
|
}:
|
||||||
|
Loading…
Reference in New Issue
Block a user