|
using | Settings = std::map<std::string, SettingData> |
|
| AbstractConfig (StringMap initials={}) |
|
StringMap | unknownSettings |
|
◆ isEnabled() [1/2]
Check whether the given experimental feature is enabled.
◆ isEnabled() [2/2]
bool nix::ExperimentalFeatureSettings::isEnabled |
( |
const std::optional< ExperimentalFeature > & | feature | ) |
const |
std::nullopt
pointer means no feature, which means there is nothing that could be disabled, and so the function returns true in that case.
◆ require() [1/2]
Require an experimental feature be enabled, throwing an error if it is not.
◆ require() [2/2]
void nix::ExperimentalFeatureSettings::require |
( |
const std::optional< ExperimentalFeature > & | feature | ) |
const |
std::nullopt
pointer means no feature, which means there is nothing that could be disabled, and so the function does nothing in that case.
◆ experimentalFeatures
Initial value:{
this, {}, "experimental-features",
R"(
Experimental features that are enabled.
Example:
```
experimental-features = nix-command flakes
```
The following experimental features are available:
{{#include experimental-features-shortlist.md}}
Experimental features are [further documented in the manual](@docroot@/development/experimental-features.md).
)"}
The documentation for this struct was generated from the following files:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libutil/config.hh
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libutil/config.cc