mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 14:56:15 +02:00
Remove FIXME
We don't need to return the accessor here (in fact it rarely makes sense to return a path from the EvalCache).
This commit is contained in:
parent
7da3a30c90
commit
301f388716
1 changed files with 0 additions and 1 deletions
|
@ -443,7 +443,6 @@ Value & AttrCursor::forceValue()
|
||||||
cachedValue = {root->db->setString(getKey(), v.string.s, v.string.context),
|
cachedValue = {root->db->setString(getKey(), v.string.s, v.string.context),
|
||||||
string_t{v.string.s, {}}};
|
string_t{v.string.s, {}}};
|
||||||
else if (v.type() == nPath) {
|
else if (v.type() == nPath) {
|
||||||
// FIXME: take accessor into account?
|
|
||||||
auto path = v.path().path;
|
auto path = v.path().path;
|
||||||
cachedValue = {root->db->setString(getKey(), path.abs()), string_t{path.abs(), {}}};
|
cachedValue = {root->db->setString(getKey(), path.abs()), string_t{path.abs(), {}}};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue