ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/
2
fork

Configure Feed

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

trace! evaluate_hive_attribute output

+4 -3
+3
wire/lib/src/commands/common.rs
··· 6 6 sync::{Arc, Mutex}, 7 7 }; 8 8 9 + use tracing::instrument; 10 + 9 11 use crate::{ 10 12 EvalGoal, SubCommandModifiers, 11 13 commands::{CommandArguments, Either, WireCommandChip, run_command, run_command_with_env}, ··· 53 55 54 56 /// Evaluates the hive in flakeref with regards to the given goal, 55 57 /// and returns stdout. 58 + #[instrument(ret(level = tracing::Level::TRACE), skip_all)] 56 59 pub async fn evaluate_hive_attribute( 57 60 location: &HiveLocation, 58 61 goal: &EvalGoal<'_>,
+1 -3
wire/lib/src/hive/mod.rs
··· 12 12 use std::path::PathBuf; 13 13 use std::str::FromStr; 14 14 use std::sync::{Arc, Mutex}; 15 - use tracing::{info, instrument}; 15 + use tracing::{info, instrument, trace}; 16 16 17 17 use crate::commands::common::evaluate_hive_attribute; 18 18 use crate::errors::{HiveInitializationError, HiveLocationError}; ··· 57 57 58 58 let output = 59 59 evaluate_hive_attribute(location, &EvalGoal::Inspect, modifiers, clobber_lock).await?; 60 - 61 - info!("evaluate_hive_attribute ouputted {output}"); 62 60 63 61 let hive: Hive = serde_json::from_str(&output).map_err(|err| { 64 62 HiveLibError::HiveInitializationError(HiveInitializationError::ParseEvaluateError(err))