diff --git a/pkgs/by-name/ve/vector/package.nix b/pkgs/by-name/ve/vector/package.nix index 01bf2d38bb07..be1442314a8c 100644 --- a/pkgs/by-name/ve/vector/package.nix +++ b/pkgs/by-name/ve/vector/package.nix @@ -2,6 +2,7 @@ stdenv, lib, fetchFromGitHub, + fetchpatch, rustPlatform, pkg-config, openssl, @@ -63,6 +64,14 @@ rustPlatform.buildRustPackage { 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. # Upstream is working on fixing this in https://github.com/vectordotdev/vector/pull/20949, but silencing the lint lets us build again until then. # TODO remove when upgrading Vector