aboutsummaryrefslogtreecommitdiff
path: root/src/nix/main.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-03-21 14:03:05 +0100
committerEelco Dolstra <edolstra@gmail.com>2023-03-21 14:03:40 +0100
commit9eb53bbf17037691e1278c71517d74d0962aa43f (patch)
tree33fdd4666bbff78bc801ff241ac67877a952e993 /src/nix/main.cc
parent7704118d2816c2f7939db6771cd4665d5a68596d (diff)
Support per-store Markdown documentation
Diffstat (limited to 'src/nix/main.cc')
-rw-r--r--src/nix/main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/main.cc b/src/nix/main.cc
index 0ea6d7784..6caca9c22 100644
--- a/src/nix/main.cc
+++ b/src/nix/main.cc
@@ -175,6 +175,7 @@ struct NixArgs : virtual MultiCommand, virtual MixCommonArgs
for (auto & implem : *Implementations::registered) {
auto storeConfig = implem.getConfig();
auto storeName = storeConfig->name();
+ stores[storeName]["doc"] = storeConfig->doc();
stores[storeName]["settings"] = storeConfig->toJSON();
}
res["stores"] = std::move(stores);