git.iko.soy/typeable/nixpkgs
on master help sign in
ghc: don't use LLVM w/musl on non-cross

Doesn't appear to be needed on musl-native on x86_64, and on non-x86(-64) it's included anyway.

commit2996d29f71a5004ff2a1eaf5094bafb4cfbfa989 authorWill Dietz <w@wdtz.org> dateWed 11 Jul 2018, 17:37 (8 years ago) parentfcfd66c
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.