summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorWill Dietz <github@wdtz.org>2018-06-23 18:09:41 -0500
committerGitHub <noreply@github.com>2018-06-23 18:09:41 -0500
commit2e5e26d64d07976cdaf089ae90fbefe29335cffe (patch)
tree2e5a9b8aebdcbba37aff590d7037ac0a4e3e43a8 /pkgs/development/compilers
parentbee228d9b46f2aeb7c389c1c5c67b16678e3ca02 (diff)
parent3e49430922ca5fea91de12984be2478fee4f97fa (diff)
downloadnixlib-2e5e26d64d07976cdaf089ae90fbefe29335cffe.tar
nixlib-2e5e26d64d07976cdaf089ae90fbefe29335cffe.tar.gz
nixlib-2e5e26d64d07976cdaf089ae90fbefe29335cffe.tar.bz2
nixlib-2e5e26d64d07976cdaf089ae90fbefe29335cffe.tar.lz
nixlib-2e5e26d64d07976cdaf089ae90fbefe29335cffe.tar.xz
nixlib-2e5e26d64d07976cdaf089ae90fbefe29335cffe.tar.zst
nixlib-2e5e26d64d07976cdaf089ae90fbefe29335cffe.zip
Merge pull request #42455 from dtzWill/fix/ghc-musl-usellvm
ghc-{8.2.2,8.4.3}: "useLLVM" when target is musl as well
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/ghc/8.2.2.nix2
-rw-r--r--pkgs/development/compilers/ghc/8.4.3.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/ghc/8.2.2.nix b/pkgs/development/compilers/ghc/8.2.2.nix
index 2d49742c6510..fefd07b12043 100644
--- a/pkgs/development/compilers/ghc/8.2.2.nix
+++ b/pkgs/development/compilers/ghc/8.2.2.nix
@@ -8,7 +8,7 @@
 
 , libffi, libiconv ? null, ncurses
 
-, useLLVM ? !targetPlatform.isx86
+, useLLVM ? !targetPlatform.isx86 || targetPlatform.isMusl
 , # LLVM is conceptually a run-time-only depedendency, but for
   # non-x86, we need LLVM to bootstrap later stages, so it becomes a
   # build-time dependency too.
diff --git a/pkgs/development/compilers/ghc/8.4.3.nix b/pkgs/development/compilers/ghc/8.4.3.nix
index ac3578927bd5..4d2f3894f178 100644
--- a/pkgs/development/compilers/ghc/8.4.3.nix
+++ b/pkgs/development/compilers/ghc/8.4.3.nix
@@ -7,7 +7,7 @@
 
 , libffi, libiconv ? null, ncurses
 
-, useLLVM ? !targetPlatform.isx86
+, useLLVM ? !targetPlatform.isx86 || targetPlatform.isMusl
 , # LLVM is conceptually a run-time-only depedendency, but for
   # non-x86, we need LLVM to bootstrap later stages, so it becomes a
   # build-time dependency too.