mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
Merge branch 'NixOS:master' into debug-exploratory-PR
This commit is contained in:
commit
0ac121a094
3 changed files with 33 additions and 26 deletions
|
@ -673,7 +673,8 @@ std::vector<std::string> AttrCursor::getListOfStrings()
|
|||
for (auto & elem : v.listItems())
|
||||
res.push_back(std::string(root->state.forceStringNoCtx(*elem)));
|
||||
|
||||
cachedValue = {root->db->setListOfStrings(getKey(), res), res};
|
||||
if (root->db)
|
||||
cachedValue = {root->db->setListOfStrings(getKey(), res), res};
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue