From 212e28d945d03f7904b9931769dcbe6721e3a325 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 12 May 2022 20:47:27 +0200 Subject: [PATCH] Fix test --- src/libexpr/tests/libexprtests.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/tests/libexprtests.hh b/src/libexpr/tests/libexprtests.hh index 418da6b6d..0286be3b3 100644 --- a/src/libexpr/tests/libexprtests.hh +++ b/src/libexpr/tests/libexprtests.hh @@ -23,7 +23,7 @@ namespace nix { } Value eval(std::string input, bool forceValue = true) { Value v; - Expr * e = state.parseExprFromString(input, ""); + Expr * e = state.parseExprFromString(input, state.rootPath("/")); assert(e); state.eval(e, v); if (forceValue)