From 5111af1d34f3f80c2792f8b237d600f32cb09f6e Mon Sep 17 00:00:00 2001 From: cy Date: Mon, 14 Apr 2025 16:32:12 -0400 Subject: [PATCH] add a trace --- src/path_info.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/path_info.rs b/src/path_info.rs index 7debc33..24969c9 100644 --- a/src/path_info.rs +++ b/src/path_info.rs @@ -32,6 +32,11 @@ impl PathInfo { .await .context("`nix path-info` failed for {package}")?; + trace!( + "nix path-info output: {}", + String::from_utf8_lossy(&nix_cmd.stdout) + ); + // nix path-info returns an array with one element match serde_json::from_slice::>(&nix_cmd.stdout) .context("parse path info from stdout")