Skip to content

Commit

Permalink
Don't include clang for prebuilt android
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Dec 10, 2024
1 parent 837523e commit 134d69a
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.optionals useLLVM [llvmPackages.llvm llvmPackages.clang]
then [ targetPackages.stdenv.cc ] ++ lib.optionals useLLVM ([llvmPackages.llvm] ++ lib.optional (!targetPlatform.useAndroidPrebuilt) llvmPackages.clang)
else assert targetPlatform == hostPlatform; # build != host == target
[ stdenv.cc ] ++ lib.optional useLLVM buildLlvmPackages.llvm;

Expand Down

0 comments on commit 134d69a

Please sign in to comment.