1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 10:31:15 +02: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

@ -17,6 +17,8 @@ struct LegacySSHStoreConfig : virtual StoreConfig
const Setting<bool> compress{this, false, "compress", "whether to compress the connection"};
const Setting<Path> remoteProgram{this, "nix-store", "remote-program", "path to the nix-store executable on the remote system"};
const Setting<std::string> remoteStore{this, "", "remote-store", "URI of the store on the remote system"};
const std::string name() override { return "Legacy SSH Store"; }
};
struct LegacySSHStore : public Store, public virtual LegacySSHStoreConfig