add a trace
This commit is contained in:
parent
abdff736f5
commit
5111af1d34
1 changed files with 5 additions and 0 deletions
|
@ -32,6 +32,11 @@ impl PathInfo {
|
||||||
.await
|
.await
|
||||||
.context("`nix path-info` failed for {package}")?;
|
.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
|
// nix path-info returns an array with one element
|
||||||
match serde_json::from_slice::<Vec<_>>(&nix_cmd.stdout)
|
match serde_json::from_slice::<Vec<_>>(&nix_cmd.stdout)
|
||||||
.context("parse path info from stdout")
|
.context("parse path info from stdout")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue