mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
Avoid thunks when a fromWith var can be looked up without evaluation
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
20866a7031
commit
e068f49f7d
2 changed files with 8 additions and 8 deletions
|
@ -206,7 +206,7 @@ private:
|
|||
void addPrimOp(const string & name,
|
||||
unsigned int arity, PrimOpFun primOp);
|
||||
|
||||
inline Value * lookupVar(Env * env, const VarRef & var);
|
||||
inline Value * lookupVar(Env * env, const VarRef & var, bool noEval = false);
|
||||
|
||||
friend class ExprVar;
|
||||
friend class ExprAttrs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue