lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

vector: Added upstream patch for Rust 1.73 fix

authored by

Jonathan Davies and committed by
Yt
0a6a7c83 73f28b77

+25
+2
pkgs/tools/misc/vector/default.nix
··· 46 46 hash = "sha256-vK+k+VbUVgJ8idlvuod5ExAkkeTYDk/135dyLRct0zs="; 47 47 }; 48 48 49 + patches = [ ./vector-pr19075.patch ]; 50 + 49 51 cargoLock = { 50 52 lockFile = ./Cargo.lock; 51 53 outputHashes = {
+23
pkgs/tools/misc/vector/vector-pr19075.patch
··· 1 + From 14cd9c12416b5c9ada55ced51e8f92fdce56a4b1 Mon Sep 17 00:00:00 2001 2 + From: Aaron Andersen <aaron@fosslib.net> 3 + Date: Tue, 7 Nov 2023 09:05:26 -0500 4 + Subject: [PATCH] fix(config): rustc warnings 5 + 6 + --- 7 + src/convert_config.rs | 3 +-- 8 + 1 file changed, 1 insertion(+), 2 deletions(-) 9 + 10 + diff --git a/src/convert_config.rs b/src/convert_config.rs 11 + index f0a900cf421a0..d81b998c5ee1f 100644 12 + --- a/src/convert_config.rs 13 + +++ b/src/convert_config.rs 14 + @@ -157,8 +157,7 @@ fn walk_dir_and_convert( 15 + let new_output_dir = if entry_path.is_dir() { 16 + let last_component = entry_path 17 + .file_name() 18 + - .unwrap_or_else(|| panic!("Failed to get file_name for {entry_path:?}")) 19 + - .clone(); 20 + + .unwrap_or_else(|| panic!("Failed to get file_name for {entry_path:?}")); 21 + let new_dir = output_dir.join(last_component); 22 + 23 + if !new_dir.exists() {