#include "types.hh"
#include "config.hh"
#include "environment-variables.hh"
#include "experimental-features.hh"
#include "users.hh"
#include <map>
#include <limits>
#include <sys/types.h>
Go to the source code of this file.
|
enum | SandboxMode { smEnabled
, smRelaxed
, smDisabled
} |
|
◆ 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.
◆ initLibStore()
void nix::initLibStore |
( |
bool | loadConfig = true | ) |
|
- Parameters
-
loadConfig | Whether to load configuration from nix.conf , NIX_CONFIG , etc. May be disabled for unit tests. |
- Note
- When using libexpr, and/or libmain, This is not sufficient. See initNix().
◆ loadConfFile()
Load the configuration (from nix.conf
, NIX_CONFIG
, etc.) into the given configuration object.
Usually called with globalConfig
.
◆ maxIdsPerBuild
const uint32_t nix::maxIdsPerBuild |