3
0
Fork 0
forked from mirrors/nixpkgs

clang: fix build on darwin

This commit is contained in:
Shea Levy 2013-01-22 15:41:37 -05:00
parent eaa343ea66
commit 50b939ce54

View file

@ -1879,7 +1879,11 @@ let
ccl = builderDefsPackage ../development/compilers/ccl {};
clangUnwrapped = callPackage ../development/compilers/llvm/clang.nix { };
clangUnwrapped = callPackage ../development/compilers/llvm/clang.nix {
stdenv = if stdenv.isDarwin
then stdenvAdapters.overrideGCC stdenv gccApple
else stdenv;
};
clang = wrapClang clangUnwrapped;