Skip to content

Commit

Permalink
matrix-conduit: use rustPlatform.bindgenHook
Browse files Browse the repository at this point in the history
  • Loading branch information
symphorien committed Feb 22, 2022
1 parent a6898bc commit f302794
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions pkgs/servers/matrix-conduit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; {
Expand Down

0 comments on commit f302794

Please sign in to comment.