File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change 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 } ;
You can’t perform that action at this time.
0 commit comments