Skip to content

Commit f5876b3

Browse files
authored
vector: stop overriding default features (#351066)
2 parents 24e70cf + 91cbfce commit f5876b3

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

pkgs/tools/misc/vector/default.nix

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,6 @@
2020
cmake,
2121
perl,
2222
git,
23-
# nix has a problem with the `?` in the feature list
24-
# enabling kafka will produce a vector with no features at all
25-
enableKafka ? false,
26-
# TODO investigate adding various "vendor-*"
27-
# "disk-buffer" is using leveldb TODO: investigate how useful
28-
# it would be, perhaps only for massive scale?
29-
features ? (
30-
[
31-
"api"
32-
"api-client"
33-
"enrichment-tables"
34-
"sinks"
35-
"sources"
36-
"sources-dnstap"
37-
"transforms"
38-
"component-validation-runner"
39-
]
40-
# the second feature flag is passed to the rdkafka dependency
41-
# building on linux fails without this feature flag (both x86_64 and AArch64)
42-
++ lib.optionals enableKafka [ "rdkafka?/gssapi-vendored" ]
43-
++ lib.optional stdenv.hostPlatform.isUnix "unix"
44-
),
4523
nixosTests,
4624
nix-update-script,
4725
}:
@@ -119,9 +97,6 @@ rustPlatform.buildRustPackage {
11997
CARGO_PROFILE_RELEASE_LTO = "fat";
12098
CARGO_PROFILE_RELEASE_CODEGEN_UNITS = "1";
12199

122-
buildNoDefaultFeatures = true;
123-
buildFeatures = features;
124-
125100
# TODO investigate compilation failure for tests
126101
# there are about 100 tests failing (out of 1100) for version 0.22.0
127102
doCheck = false;
@@ -158,7 +133,6 @@ rustPlatform.buildRustPackage {
158133
'';
159134

160135
passthru = {
161-
inherit features;
162136
tests = {
163137
inherit (nixosTests) vector;
164138
};

0 commit comments

Comments
 (0)