|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
Public Member Functions | |
| bool | isEnabled (const ExperimentalFeature &) const |
| void | require (const ExperimentalFeature &) const |
| bool | isEnabled (const std::optional< ExperimentalFeature > &) const |
| void | require (const std::optional< ExperimentalFeature > &) const |
| bool | isEnabled (const DeprecatedFeature &) const |
| void | require (const DeprecatedFeature &) const |
| bool | isEnabled (const std::optional< DeprecatedFeature > &) const |
| void | require (const std::optional< DeprecatedFeature > &) const |
| Public Member Functions inherited from nix::Config | |
| Config (StringMap initials={}) | |
| bool | set (const std::string &name, const std::string &value, const ApplyConfigOptions &options={}) override |
| void | addSetting (AbstractSetting *setting) |
| void | getSettings (std::map< std::string, SettingInfo > &res, bool overriddenOnly=false) override |
| void | resetOverridden () override |
| JSON | toJSON () override |
| void | convertToArgs (Args &args, const std::string &category) override |
| Public Member Functions inherited from nix::AbstractConfig | |
| void | applyConfig (const std::string &contents, const ApplyConfigOptions &options={}) |
| void | warnUnknownSettings () |
| void | reapplyUnknownSettings () |
Additional Inherited Members | |
| Public Types inherited from nix::Config | |
| using | Settings = std::map<std::string, SettingData> |
| Protected Member Functions inherited from nix::AbstractConfig | |
| AbstractConfig (StringMap initials={}) | |
| Protected Attributes inherited from nix::AbstractConfig | |
| StringMap | unknownSettings |
| bool nix::FeatureSettings::isEnabled | ( | const DeprecatedFeature & | feature | ) | const |
Check whether the given deprecated feature is enabled.
| bool nix::FeatureSettings::isEnabled | ( | const ExperimentalFeature & | feature | ) | const |
Check whether the given experimental feature is enabled.
| bool nix::FeatureSettings::isEnabled | ( | const std::optional< DeprecatedFeature > & | 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.
| bool nix::FeatureSettings::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.
| void nix::FeatureSettings::require | ( | const DeprecatedFeature & | feature | ) | const |
Require an deprecated feature be enabled, throwing an error if it is not.
| void nix::FeatureSettings::require | ( | const ExperimentalFeature & | feature | ) | const |
Require an experimental feature be enabled, throwing an error if it is not.
| void nix::FeatureSettings::require | ( | const std::optional< DeprecatedFeature > & | 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.
| void nix::FeatureSettings::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.