mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 08:39:08 +03:00
topiary: fix build on darwin
This commit is contained in:
parent
d4abe32acd
commit
dea17be39e
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user