fix(tvix/eval): context-aware dirOf

`dirOf` forgot to accepts contextful strings, e.g. derivations and propagates this context
further.

Change-Id: I6c05944a3ce5073e243e7676c9be56c48407d657
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10618
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
This commit is contained in:
Ryan Lahfa 2024-01-14 01:42:53 +01:00 committed by raitobezarius
parent c2d0e245e2
commit 97e6c39dcd

View file

@ -375,7 +375,7 @@ mod pure_builtins {
span,
)
.await?
.to_str()?;
.to_contextful_str()?;
let result = str
.rsplit_once('/')
.map(|(x, _)| match x {