From a1e23f5a2401a314fcc97d431b7fb8949c8cd920 Mon Sep 17 00:00:00 2001 From: Tristan Ross Date: Sat, 27 Jul 2024 18:32:20 -0700 Subject: [PATCH] makeBinaryWrapper: ensure wrapper works with llvm --- pkgs/stdenv/booter.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/stdenv/booter.nix b/pkgs/stdenv/booter.nix index 7fc1fa42b965..896fe717d60f 100644 --- a/pkgs/stdenv/booter.nix +++ b/pkgs/stdenv/booter.nix @@ -130,7 +130,7 @@ stageFuns: let # code here, we'll cause an infinite recursion. Since a set with # clang as its default compiler always means libc++, we can infer this # decision statically. - then buildPackages.llvmPackages.libcxxClang + then buildPackages.pkgsBuildTarget.llvmPackages.libcxxClang else buildPackages.gcc else # This will blow up if anything uses it, but that's OK. The `if