From 3b592c880ae76707cc832e5f227e261be29661bf Mon Sep 17 00:00:00 2001 From: John Ericson Date: Mon, 17 Apr 2023 11:58:47 -0400 Subject: Add infra for experimental store implemenations This is analogous to that for experimental settings and flags that we have also added as of late. --- src/libstore/store-api.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstore/store-api.cc') 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 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); -- cgit v1.2.3