mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
vector: fix rust 1.98 compatibility
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user