Skip to content

Commit

Permalink
Include clang
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Dec 10, 2024
1 parent f1b5442 commit 837523e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/ghc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ let
if targetPlatform.isGhcjs
then [ buildPackages.emscripten ]
else if hostPlatform == buildPlatform
then [ targetPackages.stdenv.cc ] ++ lib.optional useLLVM llvmPackages.llvm
then [ targetPackages.stdenv.cc ] ++ lib.optionals useLLVM [llvmPackages.llvm llvmPackages.clang]
else assert targetPlatform == hostPlatform; # build != host == target
[ stdenv.cc ] ++ lib.optional useLLVM buildLlvmPackages.llvm;

Expand Down

0 comments on commit 837523e

Please sign in to comment.