mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
Remove unnecessary call to forceStringNoCtx
This commit is contained in:
parent
a5684e09d3
commit
69befd33a9
1 changed files with 1 additions and 1 deletions
|
@ -1083,7 +1083,7 @@ bool EvalState::isDerivation(Value & v)
|
||||||
if (i == v.attrs->end()) return false;
|
if (i == v.attrs->end()) return false;
|
||||||
forceValue(*i->value);
|
forceValue(*i->value);
|
||||||
if (i->value->type != tString) return false;
|
if (i->value->type != tString) return false;
|
||||||
return forceStringNoCtx(*i->value) == "derivation";
|
return strcmp(i->value->string.s, "derivation") == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue