···67436743 libllvm = llvmPackages.libllvm;
67446744 llvm-manpages = llvmPackages.llvm-manpages;
6745674567466746- # Please remove all this logic when bumping to LLVM 19 and make this
67476747- # a simple alias.
67486748- llvmPackages = let
67496749- # This returns the minimum supported version for the platform. The
67506750- # assumption is that or any later version is good.
67516751- choose = platform: if platform.isDarwin then 16 else 18;
67526752- # We take the "max of the mins". Why? Since those are lower bounds of the
67536753- # supported version set, this is like intersecting those sets and then
67546754- # taking the min bound of that.
67556755- minSupported = toString (lib.trivial.max (choose stdenv.hostPlatform) (choose
67566756- stdenv.targetPlatform));
67576757- in pkgs.${"llvmPackages_${minSupported}"};
67466746+ llvmPackages = llvmPackages_19;
6758674767596748 inherit (rec {
67606749 llvmPackagesSet = recurseIntoAttrs (callPackages ../development/compilers/llvm { });