nixd
Loading...
Searching...
No Matches
InitEval.h
Go to the documentation of this file.
1#pragma once
2
3#include <nix/cmd/common-eval-args.hh>
4#include <nix/expr/eval-gc.hh>
5#include <nix/expr/eval-settings.hh>
6#include <nix/expr/eval.hh>
7#include <nix/flake/flake.hh>
8#include <nix/flake/settings.hh>
9#include <nix/main/plugin.hh>
10#include <nix/main/shared.hh>
11#include <nix/store/store-api.hh>
12
13namespace nixt {
14
15inline void initEval() {
16 nix::initNix();
17 nix::initLibStore();
18 nix::flakeSettings.configureEvalSettings(nix::evalSettings);
19 nix::initPlugins();
20 nix::initGC();
21}
22
23} // namespace nixt
Access EvalCache in nix::EvalState.
Definition ArrayRef.h:7
void initEval()
Definition InitEval.h:15