diff --git a/crates/rattler_solve/src/resolvo/mod.rs b/crates/rattler_solve/src/resolvo/mod.rs index c10908cfd..a2819f0b9 100644 --- a/crates/rattler_solve/src/resolvo/mod.rs +++ b/crates/rattler_solve/src/resolvo/mod.rs @@ -286,7 +286,13 @@ impl<'a> CondaDependencyProvider<'a> { &record.package_record.name.as_normalized(), &record.channel ); - candidates.excluded.push((solvable_id, pool.intern_string(format!("due to strict channel priority not using this option from: '{first_channel}'", )))); + candidates.excluded.push(( + solvable_id, + pool.intern_string(format!( + "due to strict channel priority not using this option from: '{}'", + &record.channel + )), + )); continue; } } else {