Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
DevelopSettings Struct Reference
Inheritance diagram for DevelopSettings:
nix::Config nix::AbstractConfig

Public Attributes

Setting< std::string > bashPrompt
 
Setting< std::string > bashPromptPrefix
 
Setting< std::string > bashPromptSuffix
 

Additional Inherited Members

- Public Types inherited from nix::Config
using Settings = std::map<std::string, SettingData>
 
- Public Member Functions inherited from nix::Config
 Config (StringMap initials={})
 
bool set (const std::string &name, const std::string &value) override
 
void addSetting (AbstractSetting *setting)
 
void getSettings (std::map< std::string, SettingInfo > &res, bool overriddenOnly=false) override
 
void resetOverridden () override
 
nlohmann::json toJSON () override
 
std::string toKeyValue () override
 
void convertToArgs (Args &args, const std::string &category) override
 
- Public Member Functions inherited from nix::AbstractConfig
void applyConfig (const std::string &contents, const std::string &path="<unknown>")
 
void warnUnknownSettings ()
 
void reapplyUnknownSettings ()
 
- Protected Member Functions inherited from nix::AbstractConfig
 AbstractConfig (StringMap initials={})
 
- Protected Attributes inherited from nix::AbstractConfig
StringMap unknownSettings
 

Member Data Documentation

◆ bashPrompt

Setting<std::string> DevelopSettings::bashPrompt
Initial value:
{this, "", "bash-prompt",
"The bash prompt (`PS1`) in `nix develop` shells."}

◆ bashPromptPrefix

Setting<std::string> DevelopSettings::bashPromptPrefix
Initial value:
{this, "", "bash-prompt-prefix",
"Prefix prepended to the `PS1` environment variable in `nix develop` shells."}

◆ bashPromptSuffix

Setting<std::string> DevelopSettings::bashPromptSuffix
Initial value:
{this, "", "bash-prompt-suffix",
"Suffix appended to the `PS1` environment variable in `nix develop` shells."}

The documentation for this struct was generated from the following file: