![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| ref< Cache > | getCache () const |
| ref< GitRepo > | getTarballCache () const |
| ref< GitRepoPool > | getTarballWriterPool () const |
| 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) const override |
| void | resetOverridden () override |
| nlohmann::json | toJSON () override |
| std::string | toKeyValue (bool overriddenOnly=false) 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 () |
Static Public Member Functions | |
| static ref< SrcToStore > | createSrcToStore () |
Public Attributes | |
| Setting< StringMap > | accessTokens |
| Setting< bool > | allowDirty {this, true, "allow-dirty", "Whether to allow dirty Git/Mercurial trees."} |
| Setting< bool > | warnDirty {this, true, "warn-dirty", "Whether to warn about dirty Git/Mercurial trees."} |
| Setting< bool > | allowDirtyLocks |
| Setting< bool > | trustTarballsFromGitForges |
| Setting< std::string > | flakeRegistry |
| Setting< unsigned int > | tarballTtl |
| const ref< SrcToStore > | srcToStore = createSrcToStore() |
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 |
|
static |
In-memory cache for calls to fetchToStore(); maps source paths to their store paths / hashes.
| Setting<bool> nix::fetchers::Settings::allowDirtyLocks |
| Setting<std::string> nix::fetchers::Settings::flakeRegistry |
| Setting<unsigned int> nix::fetchers::Settings::tarballTtl |
| Setting<bool> nix::fetchers::Settings::trustTarballsFromGitForges |