matrix-conduit: use rustPlatform.bindgenHook

This commit is contained in:
Guillaume Girol 2022-02-13 12:00:00 +00:00
parent a6898bc120
commit f3027942a4

View File

@ -14,21 +14,14 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-fpjzc2HiWP6nV8YZOwxsIOhy4ht/tQqcvCkcLMIFUaQ=";
nativeBuildInputs = with pkgs; [
clang
llvmPackages.libclang
rustPlatform.bindgenHook
];
buildInputs = with pkgs; [
pkg-config
clangStdenv
llvmPackages.libclang.lib
rocksdb
];
preBuild = with pkgs; ''
export LIBCLANG_PATH="${llvmPackages.libclang.lib}/lib";
'';
cargoBuildFlags = "--bin conduit";
meta = with lib; {