git.iko.soy/typeable/nixpkgs
on master help sign in
vector: link rdkafka dynamically
commitc0628397e14f6ad4307cfa8a34738af88833e51f authorAlexander Rodin <rodin.alexander@gmail.com> dateTue 17 Dec 2019, 10:40 (7 years ago) parentdb3fdd0
1 file changed+4−4
pkgs/tools/misc/vector/default.nix+4−4
pkgs/tools/misc/vector/default.nix+4−4
@@ -1,11 +1,11 @@
11{ stdenv, lib, fetchFromGitHub, rustPlatform
22, openssl, pkgconfig, protobuf
3−, Security, libiconv, cmake
3+, Security, libiconv, rdkafka
44
55, features ?
66 (if stdenv.isAarch64
7− then [ "shiplift/unix-socket" "jemallocator" "rdkafka" "rdkafka/cmake_build" ]
8− else [ "leveldb" "leveldb/leveldb-sys-2" "shiplift/unix-socket" "jemallocator" "rdkafka" "rdkafka/cmake_build" ])
7+ then [ "shiplift/unix-socket" "jemallocator" "rdkafka" "rdkafka/dynamic_linking" ]
8+ else [ "leveldb" "leveldb/leveldb-sys-2" "shiplift/unix-socket" "jemallocator" "rdkafka" "rdkafka/dynamic_linking" ])
99}:
1010
1111rustPlatform.buildRustPackage rec {
@@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec {
2020 };
2121
2222 cargoSha256 = "1akyzrscc6pv7ggb1kna05vvxhfzrf1b4kji4bah1ry3yyqxdjsj";
23− buildInputs = [ openssl pkgconfig protobuf cmake ]
23+ buildInputs = [ openssl pkgconfig protobuf rdkafka ]
2424 ++ stdenv.lib.optional stdenv.isDarwin [ Security libiconv ];
2525
2626 # needed for internal protobuf c wrapper library