diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index ef36289e05c1..7465235b81b3 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1780,7 +1780,7 @@ mapAliases ({ llvmPackages_git = recurseIntoAttrs (callPackage ../development/compilers/llvm/git { inherit (stdenvAdapters) overrideCC; buildLlvmTools = buildPackages.llvmPackages_git.tools; - targetLlvmLibraries = targetPackages.llvmPackages_git.libraries; + targetLlvmLibraries = targetPackages.llvmPackages_git.libraries or llvmPackages_git.libraries; }); # Added 2022-01-28