Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::EvalSettings Struct Reference
Inheritance diagram for nix::EvalSettings:
nix::Config nix::AbstractConfig

Public Member Functions

const std::string & getCurrentSystem ()
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 ()

Static Public Member Functions

static Strings getDefaultNixPath ()
static bool isPseudoUrl (std::string_view s)
static std::string resolvePseudoUrl (std::string_view url)

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

Member Function Documentation

◆ getCurrentSystem()

const std::string & nix::EvalSettings::getCurrentSystem ( )

Implements the eval-system vs system defaulting logic described for eval-system.


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