mirror of
https://github.com/NixOS/nix
synced 2025-06-26 07:31:15 +02:00
Create some type aliases for string Contexts
This commit is contained in:
parent
d5322698a2
commit
91adfb8894
6 changed files with 10 additions and 8 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue