about summary refs log tree commit diff
path: root/src/nix/ls.cc
diff options
context:
space:
mode:
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 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);
     }