1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 11:11:03 -04:00

add links to store API documentation

This commit is contained in:
Valentin Gagarin 2023-07-17 11:28:12 +02:00
parent a8d5bb5e7e
commit feb01b22ed

View file

@ -136,19 +136,22 @@ struct StoreConfig : public Config
Setting<int> priority{this, 0, "priority", Setting<int> priority{this, 0, "priority",
R"( R"(
Priority of this store when used as a substituter. A lower value means a higher priority. Priority of this store when used as a [substituter](@docroot@/command-ref/conf-file.md#conf-substituters).
A lower value means a higher priority.
)"}; )"};
Setting<bool> wantMassQuery{this, false, "want-mass-query", Setting<bool> wantMassQuery{this, false, "want-mass-query",
R"( R"(
Whether this store (when used as a substituter) can be Whether this store can be queried efficiently for path validity when used as a [substituter](@docroot@/command-ref/conf-file.md#conf-substituters).
queried efficiently for path validity.
)"}; )"};
Setting<StringSet> systemFeatures{this, getDefaultSystemFeatures(), Setting<StringSet> systemFeatures{this, getDefaultSystemFeatures(),
"system-features", "system-features",
"Optional features that the system this store builds on implements (like \"kvm\")."}; R"(
Optional [system features](@docroot@/command-ref/conf-file.md#conf-system-features) available on the system this store uses to build derivations.
Example: `"kvm"`
)" };
}; };
class Store : public std::enable_shared_from_this<Store>, public virtual StoreConfig class Store : public std::enable_shared_from_this<Store>, public virtual StoreConfig