mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 09:17:58 +00:00
vector: fix build with rustc 1.75
This commit is contained in:
parent
0cc5d8ad91
commit
3606478738
@ -99,6 +99,8 @@ rustPlatform.buildRustPackage {
|
||||
"--skip=sources::aws_kinesis_firehose::tests::handles_acknowledgement_failure"
|
||||
];
|
||||
|
||||
patches = [ ./vector-pr19518.patch ];
|
||||
|
||||
# recent overhauls of DNS support in 0.9 mean that we try to resolve
|
||||
# vector.dev during the checkPhase, which obviously isn't going to work.
|
||||
# these tests in the DNS module are trivial though, so stubbing them out is
|
||||
|
25
pkgs/tools/misc/vector/vector-pr19518.patch
Normal file
25
pkgs/tools/misc/vector/vector-pr19518.patch
Normal file
@ -0,0 +1,25 @@
|
||||
diff --git a/src/config/loading/mod.rs b/src/config/loading/mod.rs
|
||||
index 58c464a58..40656fd29 100644
|
||||
--- a/src/config/loading/mod.rs
|
||||
+++ b/src/config/loading/mod.rs
|
||||
@@ -13,7 +13,6 @@ use std::{
|
||||
};
|
||||
|
||||
use config_builder::ConfigBuilderLoader;
|
||||
-pub use config_builder::*;
|
||||
use glob::glob;
|
||||
use loader::process::Process;
|
||||
pub use loader::*;
|
||||
diff --git a/src/sinks/prometheus/remote_write/mod.rs b/src/sinks/prometheus/remote_write/mod.rs
|
||||
index 3ebda7df8..cf5b37a70 100644
|
||||
--- a/src/sinks/prometheus/remote_write/mod.rs
|
||||
+++ b/src/sinks/prometheus/remote_write/mod.rs
|
||||
@@ -24,8 +24,6 @@ mod tests;
|
||||
#[cfg(all(test, feature = "prometheus-integration-tests"))]
|
||||
mod integration_tests;
|
||||
|
||||
-pub use config::RemoteWriteConfig;
|
||||
-
|
||||
#[derive(Debug, Snafu)]
|
||||
enum Errors {
|
||||
#[cfg(feature = "aws-core")]
|
Loading…
Reference in New Issue
Block a user