about summary refs log tree commit diff
path: root/tvix/eval
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval')
-rw-r--r--tvix/eval/src/value/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/value/mod.rs b/tvix/eval/src/value/mod.rs
index 1763b716ee45..ffcb094eef5a 100644
--- a/tvix/eval/src/value/mod.rs
+++ b/tvix/eval/src/value/mod.rs
@@ -346,7 +346,7 @@ impl Value {
                         return Ok(Some(Ordering::Greater));
                     } else if i == l1.len() {
                         return Ok(Some(Ordering::Less));
-                    } else if !l1[i].nix_eq(&l2[i], vm)? {
+                    } else if !vm.nix_eq(l1[i].clone(), l2[i].clone(), true)? {
                         return l1[i].force(vm)?.nix_cmp(&*l2[i].force(vm)?, vm);
                     }
                 }