mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
vector: migrate to bindgenHook
This commit is contained in:
parent
7bdafdd1c9
commit
fe1bb502a3
1 changed files with 1 additions and 4 deletions
|
@ -1,10 +1,8 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, rustPlatform
|
||||
, pkg-config
|
||||
, llvmPackages
|
||||
, openssl
|
||||
, protobuf
|
||||
, rdkafka
|
||||
|
@ -58,7 +56,7 @@ rustPlatform.buildRustPackage {
|
|||
"tracing-0.2.0" = "sha256-YAxeEofFA43PX2hafh3RY+C81a2v6n1fGzYz2FycC3M=";
|
||||
};
|
||||
};
|
||||
nativeBuildInputs = [ pkg-config cmake perl git ];
|
||||
nativeBuildInputs = [ pkg-config cmake perl git rustPlatform.bindgenHook ];
|
||||
buildInputs = [ oniguruma openssl protobuf rdkafka zstd ]
|
||||
++ lib.optionals stdenv.isDarwin [ Security libiconv coreutils CoreServices ];
|
||||
|
||||
|
@ -66,7 +64,6 @@ rustPlatform.buildRustPackage {
|
|||
PROTOC = "${protobuf}/bin/protoc";
|
||||
PROTOC_INCLUDE = "${protobuf}/include";
|
||||
RUSTONIG_SYSTEM_LIBONIG = true;
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||
|
||||
TZDIR = "${tzdata}/share/zoneinfo";
|
||||
|
||||
|
|
Loading…
Reference in a new issue