1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 01:11:15 +02:00
This commit is contained in:
Ben Burdette 2021-12-20 12:32:21 -07:00
parent c151a9b426
commit f317019edd
5 changed files with 86 additions and 17 deletions

View file

@ -21,6 +21,7 @@
#include "nixexpr.hh"
#include "eval.hh"
#include "globals.hh"
#include <iostream>
namespace nix {
@ -615,6 +616,10 @@ Expr * EvalState::parse(const char * text, FileOrigin origin,
if (res) throw ParseError(data.error.value());
std::cout << " data.result->bindVars(staticEnv); " << std::endl;
// printStaticEnvBindings(*staticEnv, 0);
data.result->bindVars(staticEnv);
return data.result;