about summary refs log tree commit diff
path: root/tvix/nix-compat
diff options
context:
space:
mode:
authorRyan Lahfa <tvl@lahfa.xyz>2023-12-25T23·40+0100
committerclbot <clbot@tvl.fyi>2024-01-03T23·24+0000
commitf44ac2a5940a93248ec9cff83856208bd629ae20 (patch)
tree6d34a4bb0fd5d6be826fded7e8542a79ad1d07a4 /tvix/nix-compat
parent556e52c9cb8aa7b2af8bae75cd3365318e5d08c2 (diff)
feat(tvix/eval): context-aware `split` r/7340
Nix does something like:

```cpp
        NixStringContext context;
        const auto str = state.forceString(*args[1], context, pos, "while evaluating the second argument passed to builtins.split");
```

And then do nothing with that context, therefore, we follow them and
make `split` aware of the context but still do nothing with it.

Change-Id: I4fee1936600ce86d99d00893ca3f64013213935b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10428
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: raitobezarius <tvl@lahfa.xyz>
Diffstat (limited to 'tvix/nix-compat')
0 files changed, 0 insertions, 0 deletions