aboutsummaryrefslogtreecommitdiff
path: root/src/nix/ls.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-11-14 14:31:28 +0100
committerEelco Dolstra <edolstra@gmail.com>2017-11-14 14:31:38 +0100
commit4db0a9555e3b39600847084e1b40e0bb935c13de (patch)
tree494236487cc8c250394cd9e25b7fefa6f257d40f /src/nix/ls.cc
parentc8155e9f5fba14c4edc8c5763fb7d7e9d4d123a9 (diff)
nix ls-{nar,store} --json: Respect -R
Diffstat (limited to 'src/nix/ls.cc')
-rw-r--r--src/nix/ls.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/ls.cc b/src/nix/ls.cc
index 5408c0929..69620595d 100644
--- a/src/nix/ls.cc
+++ b/src/nix/ls.cc
@@ -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);
}