Skip to content

Commit 837523e

Browse files
committed
Include clang
1 parent f1b5442 commit 837523e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/ghc/default.nix

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

0 commit comments

Comments
 (0)