Skip to content

Commit

Permalink
llvmPackages: Make targetLlvmLibraries overridable (#355001)
Browse files Browse the repository at this point in the history
  • Loading branch information
RossComputerGuy authored Nov 25, 2024
2 parents b994c8c + 51ba14b commit 7c18ea3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/compilers/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ let
inherit (stdenvAdapters) overrideCC;
buildLlvmTools = buildPackages."llvmPackages_${attrName}".tools;
targetLlvmLibraries =
targetPackages."llvmPackages_${attrName}".libraries or llvmPackages."${attrName}".libraries;
# Allow overriding targetLlvmLibraries; this enables custom runtime builds.
packageSetArgs.targetLlvmLibraries or targetPackages."llvmPackages_${attrName}".libraries
or llvmPackages."${attrName}".libraries;
targetLlvm = targetPackages."llvmPackages_${attrName}".llvm or llvmPackages."${attrName}".llvm;
inherit
officialRelease
Expand Down

0 comments on commit 7c18ea3

Please sign in to comment.