mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 09:36:15 +02:00
add links to store API documentation
This commit is contained in:
parent
a8d5bb5e7e
commit
feb01b22ed
1 changed files with 7 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue