From 5c1fa89f7801c79bf4550a1947141980b075efbd Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 24 Jan 2024 21:32:29 -0500 Subject: [PATCH] Make `StoreConfig::getDefaultSystemFeatures` a static method This makes something in Hydra bit simpler. If someday the default depends on the other config options, we can always change it back. (cherry picked from commit a9e10a1dbdbc673614c1f27e889a7a0f7e470462) --- src/libstore/store-api.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index a58dd1535..0c25be95c 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -104,7 +104,7 @@ struct StoreConfig : public Config StoreConfig() = delete; - StringSet getDefaultSystemFeatures(); + static StringSet getDefaultSystemFeatures(); virtual ~StoreConfig() { }