1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-27 04:30:59 +01:00

Add a name to the stores

So that it can be printed by `nix describe-stores`
This commit is contained in:
regnat 2020-09-14 14:04:02 +02:00
parent f24f0888f9
commit b73adacc1e
11 changed files with 30 additions and 7 deletions

View file

@ -158,6 +158,8 @@ struct UDSRemoteStoreConfig : virtual LocalFSStoreConfig, virtual RemoteStoreCon
: UDSRemoteStoreConfig(Store::Params({}))
{
}
const std::string name() override { return "Local Daemon Store"; }
};
class UDSRemoteStore : public LocalFSStore, public RemoteStore, public virtual UDSRemoteStoreConfig