about summary refs log tree commit diff
path: root/src/nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-11-14T13·31+0100
committerEelco Dolstra <edolstra@gmail.com>2017-11-14T13·31+0100
commit4db0a9555e3b39600847084e1b40e0bb935c13de (patch)
tree494236487cc8c250394cd9e25b7fefa6f257d40f /src/nix
parentc8155e9f5fba14c4edc8c5763fb7d7e9d4d123a9 (diff)
nix ls-{nar,store} --json: Respect -R
Diffstat (limited to 'src/nix')
-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 5408c092992e..69620595d8ca 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);
     }