about summary refs log tree commit diff
path: root/tvix/eval/src/tests/nix_tests/eval-okay-regex-match.exp
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2023-06-13T20·26+0200
committersterni <sternenseemann@systemli.org>2023-06-14T10·57+0000
commit8e5551329a4b13e516259126559d7d52ac998a5a (patch)
tree40c3956c566afc1dff0d5478560c04b2963840e5 /tvix/eval/src/tests/nix_tests/eval-okay-regex-match.exp
parent0128323c555b6209315f30a723af3a62f63d446e (diff)
fix(tvix/eval): don't thunk home relative paths r/6297
C++ Nix resolves home relative paths at [parse] time. This is not an
option for us, since it prevents being able to separate the compilation
and execution phase later (e.g. precompiled nix expressions). However, a
practical consequence of this is that paths expressions are always
literals (strict) and never thunks.

[parse]: https://github.com/NixOS/nix/blob/7066d21a0ddb421967980094222c4bc1f5a0f45a/src/libexpr/parser.y#L518-L527

Change-Id: Ie4b9dc68f62c86d6c7fd5f1c9460c850d97ed1ca
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7041
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/eval/src/tests/nix_tests/eval-okay-regex-match.exp')
0 files changed, 0 insertions, 0 deletions