mirror of
https://github.com/NixOS/nix
synced 2025-06-29 14:53:16 +02:00
Checkpoint
This commit is contained in:
parent
00b0fb27c1
commit
06c1edf889
18 changed files with 134 additions and 120 deletions
|
@ -121,9 +121,13 @@ struct ExprString : Expr
|
|||
|
||||
struct ExprPath : Expr
|
||||
{
|
||||
std::string s;
|
||||
std::string s; // FIXME: remove
|
||||
Value v;
|
||||
ExprPath(std::string s) : s(std::move(s)) { v.mkPath(this->s.c_str()); };
|
||||
ExprPath(InputAccessor & accessor, std::string s)
|
||||
: s(std::move(s))
|
||||
{
|
||||
v.mkPath({accessor, this->s});
|
||||
}
|
||||
COMMON_METHODS
|
||||
Value * maybeThunk(EvalState & state, Env & env);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue