aboutsummaryrefslogtreecommitdiff
path: root/src/nix/describe-stores.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/describe-stores.cc')
-rw-r--r--src/nix/describe-stores.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/describe-stores.cc b/src/nix/describe-stores.cc
index 1dd384c0e..eafcedd1f 100644
--- a/src/nix/describe-stores.cc
+++ b/src/nix/describe-stores.cc
@@ -25,7 +25,7 @@ struct CmdDescribeStores : Command, MixJSON
res[storeName] = storeConfig->toJSON();
}
if (json) {
- std::cout << res;
+ logger->cout("%s", res);
} else {
for (auto & [storeName, storeConfig] : res.items()) {
std::cout << "## " << storeName << std::endl << std::endl;