better error msg when no derivations
This commit is contained in:
parent
fcf6d7d817
commit
5fa60e6bfc
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ impl PathInfo {
|
||||||
.await
|
.await
|
||||||
.expect("path-info failed");
|
.expect("path-info failed");
|
||||||
|
|
||||||
let path_infos: Vec<PathInfo> = serde_json::from_slice(&path_infos.stdout).unwrap();
|
let path_infos: Vec<PathInfo> = serde_json::from_slice(&path_infos.stdout)
|
||||||
|
.expect("no derivations found for this package");
|
||||||
debug!("PathInfo's from nix path-info: {:#?}", path_infos);
|
debug!("PathInfo's from nix path-info: {:#?}", path_infos);
|
||||||
path_infos
|
path_infos
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue