1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 02:11:15 +02:00

Support per-store Markdown documentation

This commit is contained in:
Eelco Dolstra 2023-03-21 14:03:05 +01:00
parent 7704118d28
commit 9eb53bbf17
20 changed files with 181 additions and 4 deletions

View file

@ -22,7 +22,14 @@ struct LegacySSHStoreConfig : virtual StoreConfig
const Setting<Path> remoteProgram{(StoreConfig*) this, "nix-store", "remote-program", "path to the nix-store 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 "Legacy SSH Store"; }
const std::string name() override { return "SSH Store"; }
std::string doc() override
{
return
#include "legacy-ssh-store.md"
;
}
};
struct LegacySSHStore : public virtual LegacySSHStoreConfig, public virtual Store