diff options
Diffstat (limited to 'src/nix/path-info.cc')
-rw-r--r-- | src/nix/path-info.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nix/path-info.cc b/src/nix/path-info.cc index bffa7b356..fb7bacc4c 100644 --- a/src/nix/path-info.cc +++ b/src/nix/path-info.cc @@ -29,6 +29,8 @@ struct CmdPathInfo : StorePathsCommand, MixJSON return "query information about store paths"; } + Category category() override { return catSecondary; } + Examples examples() override { return { @@ -88,8 +90,8 @@ struct CmdPathInfo : StorePathsCommand, MixJSON JSONPlaceholder jsonRoot(std::cout); store->pathInfoToJSON(jsonRoot, // FIXME: preserve order? - storePathsToSet(storePaths), - true, showClosureSize, AllowInvalid); + StorePathSet(storePaths.begin(), storePaths.end()), + true, showClosureSize, SRI, AllowInvalid); } else { |