forked from mirrors/nixpkgs
clang: fix build on darwin
This commit is contained in:
parent
eaa343ea66
commit
50b939ce54
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue