vector: fix rust 1.98 compatibility

This commit is contained in:
Adam C. Stephens
2026-09-12 23:24:21 -04:00
parent eaad089433
commit abe9f7ea5c

View File

@@ -86,6 +86,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
CARGO_PROFILE_RELEASE_CODEGEN_UNITS = "1";
};
# Fix rust 1.98 compatibility
postPatch = ''
substituteInPlace src/trace.rs --replace-fail 'use futures::StreamExt as _;' ""
'';
doCheck = true;
checkType = "debug";