diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-11-14T13·27+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-11-14T13·28+0100 |
commit | c8155e9f5fba14c4edc8c5763fb7d7e9d4d123a9 (patch) | |
tree | aa9167ff30b154cdb77a2b07609c81e3f6524801 /src/nix/search.cc | |
parent | bac8055652964d9ad5202011befb6b199463ddef (diff) |
Don't indent JSON output
Diffstat (limited to 'src/nix/search.cc')
-rw-r--r-- | src/nix/search.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/search.cc b/src/nix/search.cc index f458367dcb55..a9dc2d6b924b 100644 --- a/src/nix/search.cc +++ b/src/nix/search.cc @@ -84,7 +84,7 @@ struct CmdSearch : SourceExprCommand, MixJSON bool first = true; - auto jsonOut = json ? std::make_unique<JSONObject>(std::cout, true) : nullptr; + auto jsonOut = json ? std::make_unique<JSONObject>(std::cout) : nullptr; auto sToplevel = state->symbols.create("_toplevel"); auto sRecurse = state->symbols.create("recurseForDerivations"); |