aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval-cache.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-03-10 02:20:32 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2022-03-11 22:30:10 +0000
commit91adfb8894b4b8183c2948712d56a97bb9d93d9f (patch)
tree4b0cef091af49d7cd3d3c39321b634d846aa7e8d /src/libexpr/eval-cache.cc
parentd5322698a2abbc6d141e1d244e17b0d226a2f18b (diff)
Create some type aliases for string Contexts
Diffstat (limited to 'src/libexpr/eval-cache.cc')
-rw-r--r--src/libexpr/eval-cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval-cache.cc b/src/libexpr/eval-cache.cc
index 188223957..7e5b5c9c4 100644
--- a/src/libexpr/eval-cache.cc
+++ b/src/libexpr/eval-cache.cc
@@ -254,7 +254,7 @@ struct AttrDb
return {{rowId, attrs}};
}
case AttrType::String: {
- std::vector<std::pair<Path, std::string>> context;
+ NixStringContext context;
if (!queryAttribute.isNull(3))
for (auto & s : tokenizeString<std::vector<std::string>>(queryAttribute.getStr(3), ";"))
context.push_back(decodeContext(s));