1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 15:51:15 +02:00

* Fixed the trace primop and path comparison.

* Removed exprToString and stringToExpr because there is no ATerm
  representation to work on anymore (and exposing the internals of the
  evaluator like this is not a good idea anyway).
This commit is contained in:
Eelco Dolstra 2010-03-31 20:09:20 +00:00
parent 979f163615
commit dc31305b38
2 changed files with 11 additions and 41 deletions

View file

@ -852,6 +852,9 @@ bool EvalState::eqValues(Value & v1, Value & v2)
/* !!! contexts */
return strcmp(v1.string.s, v2.string.s) == 0;
case tPath:
return strcmp(v1.path, v2.path) == 0;
case tNull:
return true;