llvmPackages_12: pin to gcc12 to fix builds

Just like many other llvmPackages versions.  Example issues:
https://hydra.nixos.org/build/247275023/nixlog/3/tail
This commit is contained in:
Vladimír Čunát 2024-01-25 11:49:52 +01:00
parent b9b58d1c46
commit 1f37e33af5
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -16684,6 +16684,7 @@ with pkgs;
buildLlvmTools = buildPackages.llvmPackages_12.tools;
targetLlvmLibraries = targetPackages.llvmPackages_12.libraries or llvmPackages_12.libraries;
targetLlvm = targetPackages.llvmPackages_12.llvm or llvmPackages_12.llvm;
stdenv = if stdenv.cc.cc.isGNU or false then gcc12Stdenv else stdenv; # .libcxxabi does not build with gcc13
}));
llvmPackages_13 = recurseIntoAttrs (callPackage ../development/compilers/llvm/13 ({