![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <sys/types.h>#include "nix/util/types.hh"#include "nix/util/configuration.hh"#include "nix/util/environment-variables.hh"#include "nix/store/build/derivation-builder.hh"#include "nix/store/local-settings.hh"#include "nix/store/store-reference.hh"#include "nix/store/worker-settings.hh"#include "nix/store/config.hh"Go to the source code of this file.
Classes | |
| struct | nix::LogFileSettings |
| struct | nix::NarInfoDiskCacheSettings |
| class | nix::Settings |
Functions | |
| void | nix::loadConfFile (AbstractConfig &config) |
| void | nix::initLibStore (bool loadConfig) |
| void | nix::assertLibStoreInitialized () |
| void nix::assertLibStoreInitialized | ( | ) |
It's important to initialize before doing anything, which is why we call upon the programmer to handle this correctly. However, we only add this in a key locations, so as not to litter the code.
| void nix::initLibStore | ( | bool | loadConfig = true | ) |
| loadConfig | Whether to load configuration from nix.conf, NIX_CONFIG, etc. May be disabled for unit tests. |
| void nix::loadConfFile | ( | AbstractConfig & | config | ) |
Load the configuration (from nix.conf, NIX_CONFIG, etc.) into the given configuration object.
Usually called with globalConfig.