mirror of
https://github.com/NixOS/nix
synced 2025-06-28 01:11:15 +02:00
:d error
This commit is contained in:
parent
c151a9b426
commit
f317019edd
5 changed files with 86 additions and 17 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue