vector: migrate to bindgenHook
This commit is contained in:
parent
7bdafdd1c9
commit
fe1bb502a3
|
@ -1,10 +1,8 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, llvmPackages
|
|
||||||
, openssl
|
, openssl
|
||||||
, protobuf
|
, protobuf
|
||||||
, rdkafka
|
, rdkafka
|
||||||
|
@ -58,7 +56,7 @@ rustPlatform.buildRustPackage {
|
||||||
"tracing-0.2.0" = "sha256-YAxeEofFA43PX2hafh3RY+C81a2v6n1fGzYz2FycC3M=";
|
"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 ]
|
buildInputs = [ oniguruma openssl protobuf rdkafka zstd ]
|
||||||
++ lib.optionals stdenv.isDarwin [ Security libiconv coreutils CoreServices ];
|
++ lib.optionals stdenv.isDarwin [ Security libiconv coreutils CoreServices ];
|
||||||
|
|
||||||
|
@ -66,7 +64,6 @@ rustPlatform.buildRustPackage {
|
||||||
PROTOC = "${protobuf}/bin/protoc";
|
PROTOC = "${protobuf}/bin/protoc";
|
||||||
PROTOC_INCLUDE = "${protobuf}/include";
|
PROTOC_INCLUDE = "${protobuf}/include";
|
||||||
RUSTONIG_SYSTEM_LIBONIG = true;
|
RUSTONIG_SYSTEM_LIBONIG = true;
|
||||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
|
||||||
|
|
||||||
TZDIR = "${tzdata}/share/zoneinfo";
|
TZDIR = "${tzdata}/share/zoneinfo";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue