Merge pull request #234269 from wegank/figma-agent-refactor

figma-agent: remove explicit libclang path
This commit is contained in:
Weijia Wang
2023-05-26 22:33:53 +03:00
committed by GitHub
@@ -4,7 +4,6 @@
, pkg-config
, fontconfig
, freetype
, libclang
}:
let
inherit (rustPlatform) buildRustPackage bindgenHook;
@@ -24,16 +23,16 @@ buildRustPackage {
cargoSha256 = "sha256-Gc94Uk/Ikxjnb541flQL7AeblgU/yS6zQ/187ZGRYco=";
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
bindgenHook
];
buildInputs = [
fontconfig
freetype
bindgenHook
];
LIBCLANG_PATH = "${libclang.lib}/lib";
doCheck = true;
meta = with lib; {