mirror of
https://github.com/NixOS/nix
synced 2025-06-27 21:01:16 +02:00
* Fix builtins.
This commit is contained in:
parent
81de12bc8f
commit
267dc693d2
4 changed files with 30 additions and 28 deletions
|
@ -461,8 +461,7 @@ static Expr * parse(EvalState & state, const char * text,
|
|||
if (res) throw ParseError(data.error);
|
||||
|
||||
try {
|
||||
StaticEnv env(false, 0);
|
||||
data.result->bindVars(env);
|
||||
data.result->bindVars(state.staticBaseEnv);
|
||||
} catch (Error & e) {
|
||||
throw ParseError(format("%1%, in `%2%'") % e.msg() % path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue