about summary refs log tree commit diff
path: root/src/nix/show-config.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/show-config.cc
parentbac8055652964d9ad5202011befb6b199463ddef (diff)
Don't indent JSON output
Diffstat (limited to 'src/nix/show-config.cc')
-rw-r--r--src/nix/show-config.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/show-config.cc b/src/nix/show-config.cc
index c628c2898d73..c64b12c8dd62 100644
--- a/src/nix/show-config.cc
+++ b/src/nix/show-config.cc
@@ -26,7 +26,7 @@ struct CmdShowConfig : Command, MixJSON
     {
         if (json) {
             // FIXME: use appropriate JSON types (bool, ints, etc).
-            JSONObject jsonObj(std::cout, true);
+            JSONObject jsonObj(std::cout);
             settings.toJSON(jsonObj);
         } else {
             for (auto & s : settings.getSettings())