diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-04-17 11:58:47 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-08-02 15:46:38 -0400 |
commit | 3b592c880ae76707cc832e5f227e261be29661bf (patch) | |
tree | 8ffcf145ccc3a9cceaaca004e64f0fa8915a3a9e /src/libstore/store-api.cc | |
parent | 3723363697b3908a2f58dce3e706783b1c783414 (diff) |
Add infra for experimental store implemenations
This is analogous to that for experimental settings and flags that we
have also added as of late.
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r-- | src/libstore/store-api.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 4ea16a1c0..28689e100 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -1496,6 +1496,7 @@ ref<Store> openStore(const std::string & uri_, if (implem.uriSchemes.count(parsedUri.scheme)) { auto store = implem.create(parsedUri.scheme, baseURI, params); if (store) { + experimentalFeatureSettings.require(store->experimentalFeature()); store->init(); store->warnUnknownSettings(); return ref<Store>(store); |