vector: fix build failure

This commit is contained in:
Adam C. Stephens 2026-05-23 10:39:07 -04:00
commit 80b5556ba2
No known key found for this signature in database

View file

@ -87,6 +87,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
CARGO_PROFILE_RELEASE_CODEGEN_UNITS = "1";
};
# https://github.com/vectordotdev/vector/pull/25406
postPatch = ''
substituteInPlace lib/vector-config/src/schema/visitors/merge.rs \
--replace-fail 'destination.merge(source);' 'Mergeable::merge(destination, source);'
'';
doCheck = true;
checkType = "debug";