Nix 2.34.6
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::ExprParseFile Struct Reference
Inheritance diagram for nix::ExprParseFile:

Public Member Functions

 ExprParseFile (SourcePath &path, bool mustBeTrivial)
void eval (EvalState &state, Env &env, Value &v) override

Public Attributes

SourcePath path
bool mustBeTrivial

Detailed Description

A helper Expr class to lets us parse and evaluate Nix expressions from a thunk, ensuring that every file is parsed/evaluated only once (via the thunk stored in EvalState::fileEvalCache).


The documentation for this struct was generated from the following file:
  • /builddir/build/BUILD/nix-2.34.6-build/nix-2.34.6/src/libexpr/eval.cc