1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 13:41:15 +02:00

ok was unconditoinally throwing on any With var

This commit is contained in:
Ben Burdette 2021-09-23 13:02:39 -06:00
parent c07edb1932
commit b9d08b98da
2 changed files with 47 additions and 28 deletions

View file

@ -618,10 +618,10 @@ std::vector<std::shared_ptr<Installable>> SourceExprCommand::parseInstallables(
if (file)
state->evalFile(lookupFileArg(*state, *file), *vFile);
else {
std::cout << "pre parseExprFromString" << std::endl;
auto e = state->parseExprFromString(*expr, absPath("."));
int x = 5;
std::cout << "x =" << x << std::endl;
std::cout << "pre eval" << std::endl;
state->eval(e, *vFile);
}