From b287551a214ba3ba08d39b05725abc6be650cd7d Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 20 Nov 2023 13:07:37 -0500 Subject: [PATCH] symbolicator: fix build on darwin --- pkgs/by-name/sy/symbolicator/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/sy/symbolicator/package.nix b/pkgs/by-name/sy/symbolicator/package.nix index 9a11cb5e5ab4..7ffaf41bb688 100644 --- a/pkgs/by-name/sy/symbolicator/package.nix +++ b/pkgs/by-name/sy/symbolicator/package.nix @@ -46,6 +46,9 @@ rustPlatform.buildRustPackage rec { SYMBOLICATOR_GIT_VERSION = src.rev; SYMBOLICATOR_RELEASE = version; ZSTD_SYS_USE_PKG_CONFIG = true; + } // lib.optionalAttrs stdenv.cc.isClang { + # Work around https://github.com/NixOS/nixpkgs/issues/166205. + NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}"; }; # tests require network access -- 2.11.4.GIT