From edebabe9bfadc4dc4d6b8b3b50de1e5dc6ada276 Mon Sep 17 00:00:00 2001 From: Connor Baker Date: Sun, 28 Dec 2025 15:18:41 +0000 Subject: [PATCH] eval-cache: fix parsing of contexts The members of the context were serialized with a space as the delimiter, not a semicolon. Signed-off-by: Connor Baker --- src/libexpr/eval-cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/eval-cache.cc b/src/libexpr/eval-cache.cc index 43f10da6e..90de4b69d 100644 --- a/src/libexpr/eval-cache.cc +++ b/src/libexpr/eval-cache.cc @@ -265,7 +265,7 @@ struct AttrDb case AttrType::String: { NixStringContext context; if (!queryAttribute.isNull(3)) - for (auto & s : tokenizeString>(queryAttribute.getStr(3), ";")) + for (auto & s : tokenizeString>(queryAttribute.getStr(3), " ")) context.insert(NixStringContextElem::parse(s)); return {{rowId, string_t{queryAttribute.getStr(2), context}}}; }