mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
add cout debugging
This commit is contained in:
parent
1e04b2568d
commit
cd8c232b55
7 changed files with 53 additions and 11 deletions
|
@ -110,6 +110,8 @@ static void mkOutputString(EvalState & state, Value & v,
|
|||
argument. */
|
||||
static void import(EvalState & state, const Pos & pos, Value & vPath, Value * vScope, Value & v)
|
||||
{
|
||||
std::cout << " import " << std::endl;
|
||||
|
||||
PathSet context;
|
||||
Path path = state.coerceToPath(pos, vPath, context);
|
||||
|
||||
|
@ -194,6 +196,8 @@ static void import(EvalState & state, const Pos & pos, Value & vPath, Value * vS
|
|||
env->values[displ++] = attr.value;
|
||||
}
|
||||
|
||||
std::cout << "import staticenv: {} " << staticEnv << std::endl;
|
||||
|
||||
printTalkative("evaluating file '%1%'", realPath);
|
||||
Expr * e = state.parseExprFromFile(resolveExprPath(realPath), staticEnv);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue