Skip to content

Commit b9150b0

Browse files
committed
Include clang for useLLVM GHC
1 parent cac7369 commit b9150b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/ghc/default.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ let
232232
if targetPlatform.isGhcjs
233233
then [ buildPackages.emscripten ]
234234
else if hostPlatform == buildPlatform
235-
then [ targetPackages.stdenv.cc ] ++ lib.optional useLLVM llvmPackages.llvm
235+
then [ targetPackages.stdenv.cc ] ++ lib.optionals useLLVM [llvmPackages.llvm llvmPackages.clang]
236236
else assert targetPlatform == hostPlatform; # build != host == target
237237
[ stdenv.cc ] ++ lib.optional useLLVM buildLlvmPackages.llvm;
238238

0 commit comments

Comments
 (0)