mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 23:06:16 +02:00
Fix test
This commit is contained in:
parent
9411299875
commit
212e28d945
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ namespace nix {
|
||||||
}
|
}
|
||||||
Value eval(std::string input, bool forceValue = true) {
|
Value eval(std::string input, bool forceValue = true) {
|
||||||
Value v;
|
Value v;
|
||||||
Expr * e = state.parseExprFromString(input, "");
|
Expr * e = state.parseExprFromString(input, state.rootPath("/"));
|
||||||
assert(e);
|
assert(e);
|
||||||
state.eval(e, v);
|
state.eval(e, v);
|
||||||
if (forceValue)
|
if (forceValue)
|
||||||
|
|
Loading…
Reference in a new issue