aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/main.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nix/main.cc b/src/nix/main.cc
index df66beb8c..c5a9c8b33 100644
--- a/src/nix/main.cc
+++ b/src/nix/main.cc
@@ -180,8 +180,10 @@ 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();
+ auto & j = stores[storeName];
+ j["doc"] = storeConfig->doc();
+ j["settings"] = storeConfig->toJSON();
+ j["experimentalFeature"] = storeConfig->experimentalFeature();
}
res["stores"] = std::move(stores);