feat(tvix/eval): context-aware dirOf

Change-Id: If73a82a7106de9b479c950741efb70bffabd470a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10424
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
This commit is contained in:
Ryan Lahfa 2023-12-25 22:07:50 +01:00 committed by clbot
parent db748741da
commit e259a5c42b

View file

@ -311,7 +311,9 @@ mod pure_builtins {
if is_path {
Ok(Value::Path(Box::new(result.into())))
} else {
Ok(result.into())
Ok(Value::String(NixString::new_inherit_context_from(
&str, result,
)))
}
}