mirror of
https://github.com/NixOS/nix
synced 2025-06-26 11:41:15 +02:00
libexpr-c: Add nix_eval_state_builder
This commit is contained in:
parent
838d3c1ad0
commit
82a23d9b6b
4 changed files with 183 additions and 9 deletions
|
@ -6,6 +6,17 @@
|
|||
#include "eval-settings.hh"
|
||||
#include "attr-set.hh"
|
||||
#include "nix_api_value.h"
|
||||
#include "search-path.hh"
|
||||
|
||||
struct nix_eval_state_builder
|
||||
{
|
||||
nix::ref<nix::Store> store;
|
||||
nix::EvalSettings settings;
|
||||
nix::fetchers::Settings fetchSettings;
|
||||
nix::LookupPath lookupPath;
|
||||
// TODO: make an EvalSettings setting own this instead?
|
||||
bool readOnlyMode;
|
||||
};
|
||||
|
||||
struct EvalState
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue