diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-07-14 15:27:21 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-07-14 18:29:10 +0200 |
commit | 3908d3929ceb07cee5983fa647817f0e7aecbd97 (patch) | |
tree | dab9dff2f82f24a84126b4b4a6900fe953aa1b15 /src/nix | |
parent | 6438ba22af57edc054e441053a7c3cd5d48e5597 (diff) |
nix path-info: Don't barf on invalid paths
Now you get
[
{
"path": "/nix/store/fzvliz4j5xzvnd0w5zgw2l0ksqh578yk-bla",
"valid": false
}
]
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/path-info.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/path-info.cc b/src/nix/path-info.cc index f16209238..f7610ab08 100644 --- a/src/nix/path-info.cc +++ b/src/nix/path-info.cc @@ -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 { |