dmd: build using gcc11Stdenv

The DMD test suite has been failing since we updated to gcc12, as
reported by @trofi:

  https://github.com/NixOS/nixpkgs/pull/206907#issuecomment-1527034123

Let's use gcc11Stdenv for now.
This commit is contained in:
Adam Joseph 2023-05-09 00:31:06 -07:00
parent 794d821503
commit 38a03e164e

View file

@ -6838,9 +6838,12 @@ with pkgs;
dleyna-server = callPackage ../development/libraries/dleyna-server { };
dmd = callPackage ../development/compilers/dmd {
dmd = callPackage ../development/compilers/dmd ({
inherit (darwin.apple_sdk.frameworks) Foundation;
};
} // lib.optionalAttrs stdenv.isLinux {
# https://github.com/NixOS/nixpkgs/pull/206907#issuecomment-1527034123
stdenv = gcc11Stdenv;
});
dmg2img = callPackage ../tools/misc/dmg2img { };