vector: enable api and api-client features

This enables users to use commands like `vector top`.
This commit is contained in:
Dennis Gosnell 2022-10-14 12:04:35 -04:00 committed by Yt
parent 7d682ef84f
commit 6a60941803

View file

@ -20,10 +20,10 @@
# nix has a problem with the `?` in the feature list
# enabling kafka will produce a vector with no features at all
, enableKafka ? false
# TODO investigate adding "api" "api-client" "vrl-cli" and various "vendor-*"
# TODO investigate adding "vrl-cli" and various "vendor-*"
# "disk-buffer" is using leveldb TODO: investigate how useful
# it would be, perhaps only for massive scale?
, features ? ([ "sinks" "sources" "transforms" "vrl-cli" ]
, features ? ([ "api" "api-client" "sinks" "sources" "transforms" "vrl-cli" ]
# the second feature flag is passed to the rdkafka dependency
# building on linux fails without this feature flag (both x86_64 and AArch64)
++ lib.optionals enableKafka [ "rdkafka?/gssapi-vendored" ]