about summary refs log tree commit diff
path: root/tvix/eval/src/builtins/versions.rs
diff options
context:
space:
mode:
authorRyan Lahfa <tvl@lahfa.xyz>2023-12-26T03·12+0100
committerclbot <clbot@tvl.fyi>2024-01-03T18·49+0000
commit207f6fed46406ffb48270ac809fb93599def192a (patch)
treed38e5384357c0a7384fa525f33a427e309a68155 /tvix/eval/src/builtins/versions.rs
parent09ec8b6fcf6ea5c04193c4539e4265a5c11a3386 (diff)
feat(tvix/eval): `match` DO NOT propagate context r/7332
`match` silently ignore the input context and do not propagate
it and successful matches.

The why is unclear but nixpkgs does rely implicitly on this behavior
because dynamic attribute selection cannot be done with contextful
strings.

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