nix path-info: Don't barf on invalid paths
Now you get
[
{
"path": "/nix/store/fzvliz4j5xzvnd0w5zgw2l0ksqh578yk-bla",
"valid": false
}
]
This commit is contained in:
parent
6438ba22af
commit
3908d3929c
3 changed files with 43 additions and 35 deletions
|
|
@ -69,7 +69,7 @@ struct CmdPathInfo : StorePathsCommand, MixJSON
|
|||
store->pathInfoToJSON(jsonRoot,
|
||||
// FIXME: preserve order?
|
||||
PathSet(storePaths.begin(), storePaths.end()),
|
||||
true, showClosureSize);
|
||||
true, showClosureSize, AllowInvalid);
|
||||
}
|
||||
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue