summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-06-25 15:49:32 -0500
committerWill Dietz <w@wdtz.org>2018-06-25 15:50:36 -0500
commit0e40e0cc7d4748c3a1c66e2b37f0d95b9ffc0772 (patch)
tree10e9d0ed6c8fb42b7b914e9b844aa1d1ef29aebf /pkgs/development/compilers/ghc
parent61e3bd20a04f9199744e9d0f38b3b7a5d442bdbd (diff)
downloadnixlib-0e40e0cc7d4748c3a1c66e2b37f0d95b9ffc0772.tar
nixlib-0e40e0cc7d4748c3a1c66e2b37f0d95b9ffc0772.tar.gz
nixlib-0e40e0cc7d4748c3a1c66e2b37f0d95b9ffc0772.tar.bz2
nixlib-0e40e0cc7d4748c3a1c66e2b37f0d95b9ffc0772.tar.lz
nixlib-0e40e0cc7d4748c3a1c66e2b37f0d95b9ffc0772.tar.xz
nixlib-0e40e0cc7d4748c3a1c66e2b37f0d95b9ffc0772.tar.zst
nixlib-0e40e0cc7d4748c3a1c66e2b37f0d95b9ffc0772.zip
ghcHEAD: useLLVM needed for musl here as well
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r--pkgs/development/compilers/ghc/head.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/head.nix b/pkgs/development/compilers/ghc/head.nix
index a71b08cd39fc..43e6473fc241 100644
--- a/pkgs/development/compilers/ghc/head.nix
+++ b/pkgs/development/compilers/ghc/head.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.