dmd: Fix bootstrap dmd compiler build. Doesn't work with gcc6.
commite17fdb9607d52e5d64fe0ed8a517fd2723b7d85f
authorThomas Mader <thomas.mader@gmail.com>
dateSun 27 Aug 2017, 19:03 (9 years ago)
parent227697b
pkgs/top-level/all-packages.nix+8−1
@@ -1673,7 +1673,14 @@ with pkgs;
16731673
16741674 disper = callPackage ../tools/misc/disper { };
16751675
1676− dmd_2_067_1 = callPackage ../development/compilers/dmd/2.067.1.nix { };
1676+ dmd_2_067_1 = callPackage ../development/compilers/dmd/2.067.1.nix {
1677+ stdenv = if stdenv.hostPlatform.isDarwin then
1678+ stdenv
1679+ else
1680+ # Doesn't build with gcc6 on linux
1681+ overrideCC stdenv gcc5;
1682+ };
1683+
16771684 dmd = callPackage ../development/compilers/dmd {
16781685 bootstrapDmd = dmd_2_067_1;
16791686 };