diff options
author | Robert Scott <code@humanleg.org.uk> | 2023-11-20 23:07:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-20 23:07:03 +0000 |
commit | feae8388e0a43944af59e129b315cbca919d3d98 (patch) | |
tree | 5dc894559e401e93936acc232ce3ac90856670d7 /pkgs | |
parent | a126a8545a4acb8d7c91acbc1ed7dfb3c24a1e86 (diff) | |
parent | dea17be39e52a82613b538141acbbcb70ae87020 (diff) |
Merge pull request #268788 from figsoda/topiary
topiary: fix build on darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/tools/misc/topiary/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/topiary/default.nix b/pkgs/development/tools/misc/topiary/default.nix index 2128115165baa..cb4f3884d79fd 100644 --- a/pkgs/development/tools/misc/topiary/default.nix +++ b/pkgs/development/tools/misc/topiary/default.nix @@ -1,6 +1,7 @@ { lib , rustPlatform , fetchFromGitHub +, stdenv , nix-update-script }: @@ -36,6 +37,9 @@ rustPlatform.buildRustPackage rec { env = { TOPIARY_LANGUAGE_DIR = "${placeholder "out"}/share/queries"; + } // lib.optionalAttrs stdenv.cc.isClang { + # Work around https://github.com/NixOS/nixpkgs/issues/166205. + NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}"; }; postInstall = '' |