mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
Add a name to the stores
So that it can be printed by `nix describe-stores`
This commit is contained in:
parent
f24f0888f9
commit
b73adacc1e
11 changed files with 30 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue