about summary refs log tree commit diff
path: root/src/libexpr/eval.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-05-12T11·06+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-05-12T11·06+0000
commit50d11b90caf6545556fc090858c694e19f3c7683 (patch)
treed02d64d1162c489ff52c225612f2e9d4600602bb /src/libexpr/eval.hh
parentc34e6d71bc62bb83f3bfed69f781ded4d5a46d3a (diff)
* Allow unsafe (unspecified) comparisons between attrsets unless
  NIX_NO_UNSAFE_EQ is set, for now.

Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r--src/libexpr/eval.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index 5699d455cc0d..fed6d347266b 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -38,6 +38,8 @@ struct EvalState
     unsigned int nrEvaluated;
     unsigned int nrCached;
 
+    bool allowUnsafeEquality;
+
     EvalState();
 
     void addPrimOps();