vector: Add fix for Rust 1.89 elided lifetimes (#436860)

Yt ae49b67f a8634c25

Changed files
+9
pkgs
by-name
ve
vector
+9
pkgs/by-name/ve/vector/package.nix
···
stdenv,
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
openssl,
···
libiconv
coreutils
zlib
];
# Rust 1.80.0 introduced the unexepcted_cfgs lint, which requires crates to allowlist custom cfg options that they inspect.
···
stdenv,
lib,
fetchFromGitHub,
+
fetchpatch,
rustPlatform,
pkg-config,
openssl,
···
libiconv
coreutils
zlib
+
];
+
+
patches = [
+
(fetchpatch {
+
name = "1.89-mismatched-lifetime-syntaxes.patch";
+
url = "https://patch-diff.githubusercontent.com/raw/vectordotdev/vector/pull/23645.patch";
+
hash = "sha256-2ADlF4/Z1uR3LR6608lA4tseh+MnHb097PACD/Nq6/0=";
+
})
];
# Rust 1.80.0 introduced the unexepcted_cfgs lint, which requires crates to allowlist custom cfg options that they inspect.