mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
Fixup
This commit is contained in:
parent
ede534a3a1
commit
64904b9d5d
2 changed files with 3 additions and 3 deletions
|
@ -393,9 +393,9 @@ Value & AttrCursor::forceValue()
|
|||
if (v.type() == nString)
|
||||
cachedValue = {root->db->setString(getKey(), v.string.s, v.string.context),
|
||||
string_t{v.string.s, {}}};
|
||||
else if (v.type == nPath)
|
||||
else if (v.type() == nPath)
|
||||
cachedValue = {root->db->setString(getKey(), v.path), string_t{v.path, {}}};
|
||||
else if (v.type == nBool)
|
||||
else if (v.type() == nBool)
|
||||
cachedValue = {root->db->setBool(getKey(), v.boolean), v.boolean};
|
||||
else if (v.type() == nAttrs)
|
||||
; // FIXME: do something?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue