feat(tvix/eval): contextful == of derivations

Otherwise, you just fail because they are not... contextless strings!

Change-Id: I0b8f63a18cd89c3841b613d41c12ec4ee336f953
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10442
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
This commit is contained in:
Ryan Lahfa 2023-12-26 04:13:58 +01:00 committed by clbot
parent 207f6fed46
commit 9d43c26576

View file

@ -588,8 +588,12 @@ impl Value {
.clone()
.force(co, span.clone())
.await?
.to_str()?
== out2.clone().force(co, span.clone()).await?.to_str()?;
.to_contextful_str()?
== out2
.clone()
.force(co, span.clone())
.await?
.to_contextful_str()?;
if !result {
return Ok(Value::Bool(false));
} else {