dmd: Fix bootstrap dmd compiler build. Doesn't work with gcc6.

This commit is contained in:
Thomas Mader 2017-08-27 19:03:07 +02:00
parent 227697bc67
commit e17fdb9607

View File

@ -1673,7 +1673,14 @@ with pkgs;
disper = callPackage ../tools/misc/disper { };
dmd_2_067_1 = callPackage ../development/compilers/dmd/2.067.1.nix { };
dmd_2_067_1 = callPackage ../development/compilers/dmd/2.067.1.nix {
stdenv = if stdenv.hostPlatform.isDarwin then
stdenv
else
# Doesn't build with gcc6 on linux
overrideCC stdenv gcc5;
};
dmd = callPackage ../development/compilers/dmd {
bootstrapDmd = dmd_2_067_1;
};