Use evalFile() instead of parseExprFromFile()

This commit is contained in:
Eelco Dolstra
2013-09-06 15:17:27 +00:00
parent 351a026c4e
commit 5078730cb5
3 changed files with 3 additions and 4 deletions

View File

@ -284,9 +284,8 @@ void run(Strings args)
store = openStore();
Expr * e = state.parseExprFromFile(releaseExpr);
Value v;
state.mkThunk_(v, e);
state.evalFile(releaseExpr, v);
XMLWriter doc(true, std::cout);
XMLOpenElement root(doc, "jobs");