git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #43400 from dtzWill/experimental/ghc-musl-nollvm

ghc: don't use LLVM w/musl on non-cross

commit78381de8598c3d850749371d7582201ee898a0c3 authorWill Dietz <github@wdtz.org> dateThu 12 Jul 2018, 10:48 (8 years ago) parent6b5c9fc2996d29
4 files changed+4−4
pkgs/development/compilers/ghc/8.2.2.nix+1−1 pkgs/development/compilers/ghc/8.4.3.nix+1−1 pkgs/development/compilers/ghc/8.6.1.nix+1−1 pkgs/development/compilers/ghc/head.nix+1−1
pkgs/development/compilers/ghc/8.2.2.nix+1−1
@@ -8,7 +8,7 @@
88
99, libffi, libiconv ? null, ncurses
1010
11−, useLLVM ? !targetPlatform.isx86 || targetPlatform.isMusl
11+, useLLVM ? !targetPlatform.isx86 || (targetPlatform.isMusl && hostPlatform != targetPlatform)
1212, # LLVM is conceptually a run-time-only depedendency, but for
1313 # non-x86, we need LLVM to bootstrap later stages, so it becomes a
1414 # build-time dependency too.
pkgs/development/compilers/ghc/8.4.3.nix+1−1
@@ -7,7 +7,7 @@
77
88, libffi, libiconv ? null, ncurses
99
10−, useLLVM ? !targetPlatform.isx86 || targetPlatform.isMusl
10+, useLLVM ? !targetPlatform.isx86 || (targetPlatform.isMusl && hostPlatform != targetPlatform)
1111, # LLVM is conceptually a run-time-only depedendency, but for
1212 # non-x86, we need LLVM to bootstrap later stages, so it becomes a
1313 # build-time dependency too.
pkgs/development/compilers/ghc/8.6.1.nix+1−1
@@ -7,7 +7,7 @@
77
88, libffi, libiconv ? null, ncurses
99
10−, useLLVM ? !targetPlatform.isx86 || targetPlatform.isMusl
10+, useLLVM ? !targetPlatform.isx86 || (targetPlatform.isMusl && hostPlatform != targetPlatform)
1111, # LLVM is conceptually a run-time-only depedendency, but for
1212 # non-x86, we need LLVM to bootstrap later stages, so it becomes a
1313 # build-time dependency too.
pkgs/development/compilers/ghc/head.nix+1−1
@@ -7,7 +7,7 @@
77
88, libffi, libiconv ? null, ncurses
99
10−, useLLVM ? !targetPlatform.isx86 || targetPlatform.isMusl
10+, useLLVM ? !targetPlatform.isx86 || (targetPlatform.isMusl && hostPlatform != targetPlatform)
1111, # LLVM is conceptually a run-time-only depedendency, but for
1212 # non-x86, we need LLVM to bootstrap later stages, so it becomes a
1313 # build-time dependency too.