about summary refs log tree commit diff
path: root/tvix/scripts
diff options
context:
space:
mode:
authorRyan Lahfa <tvl@lahfa.xyz>2023-12-27T17·13+0100
committerclbot <clbot@tvl.fyi>2024-01-03T18·08+0000
commit7dcb37fc52090636d542f9d8d0d45a00a5c24c55 (patch)
treee49fa138ea77941c8ba301cf7adc094fd2581573 /tvix/scripts
parent375f7eaa59d5043be91ae0bbd47f3305628790d5 (diff)
feat(tvix/eval): context-aware `substring` r/7324
`substring` has a very funny behavior when it comes to empty strings,
it propagates the context too, this is used in nixpkgs to attach context
to strings without using any builtin: `lib.addContextFrom`.

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