From 8ac155a3aa1a1387266494e3e11a22d0fbb6b74c Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 17 Jan 2023 11:27:11 +0000 Subject: [PATCH] llvmPackages_git: fix cross eval 0c9716ad3c5 ("llvmPackages: Make sure we can attempt to cross-compile the tools") was not applied to llvmPackages_git, presumably because its definition is hidden away in aliases.nix. --- pkgs/top-level/aliases.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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