mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41: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
|
@ -7,6 +7,8 @@ namespace nix {
|
|||
struct LocalBinaryCacheStoreConfig : virtual BinaryCacheStoreConfig
|
||||
{
|
||||
using BinaryCacheStoreConfig::BinaryCacheStoreConfig;
|
||||
|
||||
const std::string name() override { return "Local Binary Cache Store"; }
|
||||
};
|
||||
|
||||
class LocalBinaryCacheStore : public BinaryCacheStore, public virtual LocalBinaryCacheStoreConfig
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue