llvm: Attempt to fix build on darwin

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2014-02-03 18:54:25 -05:00
parent a2b9ed2eae
commit 5ac4f3dcf6

View File

@ -2798,7 +2798,13 @@ let
else stdenv;
};
llvmPackages = recurseIntoAttrs (import ../development/compilers/llvm/3.4 { inherit newScope stdenv fetchurl; isl = isl_0_12; });
llvmPackages = recurseIntoAttrs (import ../development/compilers/llvm/3.4 {
inherit newScope fetchurl;
isl = isl_0_12;
stdenv = if stdenv.isDarwin
then stdenvAdapters.overrideGCC stdenv gccApple
else stdenv;
});
llvmPackagesSelf = import ../development/compilers/llvm/3.4 { inherit newScope fetchurl; isl = isl_0_12; stdenv = libcxxStdenv; };
mentorToolchains = recurseIntoAttrs (