gdc: switch to gdc11 for now

That way it will at least evaluate and build.  Fixes #241341

(cherry picked from commit 15f3926baa)
This commit is contained in:
Vladimír Čunát
2023-07-05 09:31:59 +02:00
committed by github-actions[bot]
parent 05ad53d5c5
commit ac4bb597bb

View File

@@ -15388,9 +15388,10 @@ with pkgs;
gcc-arm-embedded-12 = callPackage ../development/compilers/gcc-arm-embedded/12 { };
gcc-arm-embedded = gcc-arm-embedded-12;
# Has to match the default gcc so that there are no linking errors when
# using C/C++ libraries in D packages
gdc = wrapCC (gcc.cc.override {
# It would be better to match the default gcc so that there are no linking errors
# when using C/C++ libraries in D packages, but right now versions >= 12 are broken.
gdc = gdc11;
gdc11 = wrapCC (gcc11.cc.override {
name = "gdc";
langCC = false;
langC = false;