about summary refs log tree commit diff
path: root/src/nix/ls.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-11-14T13·27+0100
committerEelco Dolstra <edolstra@gmail.com>2017-11-14T13·28+0100
commitc8155e9f5fba14c4edc8c5763fb7d7e9d4d123a9 (patch)
treeaa9167ff30b154cdb77a2b07609c81e3f6524801 /src/nix/ls.cc
parentbac8055652964d9ad5202011befb6b199463ddef (diff)
Don't indent JSON output
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 8566b8b0682c..5408c092992e 100644
--- a/src/nix/ls.cc
+++ b/src/nix/ls.cc
@@ -76,7 +76,7 @@ struct MixLs : virtual Args, MixJSON
         if (path == "/") path = "";
 
         if (json) {
-            JSONPlaceholder jsonRoot(std::cout, true);
+            JSONPlaceholder jsonRoot(std::cout);
             listNar(jsonRoot, accessor, path);
         } else
             listText(accessor);