From 8f10f4f46933b60711e16ef2fd9bf7e33f69dae7 Mon Sep 17 00:00:00 2001 From: Peter Waller Date: Mon, 16 Jun 2025 21:20:39 +0100 Subject: [PATCH] llvmPackages.libunwind: condition doFakeLibgcc on !stdenv.hostPlatform.isStatic Since #380683, broken symlinks prevent the package from building on pkgsStatic.pkgsLLVM. So far as I know, isStatic builds don't have shared objects, so don't emit these broken symlinks for them. Signed-off-by: Peter Waller --- pkgs/development/compilers/llvm/common/libunwind/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/llvm/common/libunwind/default.nix b/pkgs/development/compilers/llvm/common/libunwind/default.nix index 25520428bacb..b30b7947c502 100644 --- a/pkgs/development/compilers/llvm/common/libunwind/default.nix +++ b/pkgs/development/compilers/llvm/common/libunwind/default.nix @@ -12,7 +12,7 @@ python3, libcxx, enableShared ? !stdenv.hostPlatform.isStatic, - doFakeLibgcc ? stdenv.hostPlatform.useLLVM, + doFakeLibgcc ? stdenv.hostPlatform.useLLVM && !stdenv.hostPlatform.isStatic, devExtraCmakeFlags ? [ ], getVersionFile, }: