Add a name to the stores
So that it can be printed by `nix describe-stores`
This commit is contained in:
@@ -10,6 +10,8 @@ MakeError(UploadToHTTP, Error);
|
||||
struct HttpBinaryCacheStoreConfig : virtual BinaryCacheStoreConfig
|
||||
{
|
||||
using BinaryCacheStoreConfig::BinaryCacheStoreConfig;
|
||||
|
||||
const std::string name() override { return "Http Binary Cache Store"; }
|
||||
};
|
||||
|
||||
class HttpBinaryCacheStore : public BinaryCacheStore, public HttpBinaryCacheStoreConfig
|
||||
|
||||
Reference in New Issue
Block a user