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:
parent
c07edb1932
commit
b9d08b98da
2 changed files with 47 additions and 28 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue