···6743 libllvm = llvmPackages.libllvm;
6744 llvm-manpages = llvmPackages.llvm-manpages;
67456746- # Please remove all this logic when bumping to LLVM 19 and make this
6747- # a simple alias.
6748- llvmPackages = let
6749- # This returns the minimum supported version for the platform. The
6750- # assumption is that or any later version is good.
6751- choose = platform: if platform.isDarwin then 16 else 18;
6752- # We take the "max of the mins". Why? Since those are lower bounds of the
6753- # supported version set, this is like intersecting those sets and then
6754- # taking the min bound of that.
6755- minSupported = toString (lib.trivial.max (choose stdenv.hostPlatform) (choose
6756- stdenv.targetPlatform));
6757- in pkgs.${"llvmPackages_${minSupported}"};
67586759 inherit (rec {
6760 llvmPackagesSet = recurseIntoAttrs (callPackages ../development/compilers/llvm { });