mirror of
https://github.com/NixOS/nix
synced 2025-07-02 13:31:48 +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
|
@ -16,6 +16,8 @@ struct SSHStoreConfig : virtual RemoteStoreConfig
|
|||
const Setting<bool> compress{(StoreConfig*) this, false, "compress", "whether to compress the connection"};
|
||||
const Setting<Path> remoteProgram{(StoreConfig*) this, "nix-daemon", "remote-program", "path to the nix-daemon executable on the remote system"};
|
||||
const Setting<std::string> remoteStore{(StoreConfig*) this, "", "remote-store", "URI of the store on the remote system"};
|
||||
|
||||
const std::string name() override { return "SSH Store"; }
|
||||
};
|
||||
|
||||
class SSHStore : public virtual RemoteStore, public virtual SSHStoreConfig
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue