nix ls-{nar,store} --json: Respect -R
This commit is contained in:
parent
c8155e9f5f
commit
4db0a9555e
4 changed files with 13 additions and 6 deletions
|
|
@ -77,7 +77,7 @@ struct MixLs : virtual Args, MixJSON
|
|||
|
||||
if (json) {
|
||||
JSONPlaceholder jsonRoot(std::cout);
|
||||
listNar(jsonRoot, accessor, path);
|
||||
listNar(jsonRoot, accessor, path, recursive);
|
||||
} else
|
||||
listText(accessor);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue