feat(tvix/eval): Implement builtins.readFile
Change-Id: If3fd0b087009a2bfbad8bb7aca0aa20de906eb12 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6921 Tested-by: BuildkiteCI Reviewed-by: Adam Joseph <adam@westernsemico.com> Reviewed-by: kanepyork <rikingcoding@gmail.com> Autosubmit: grfn <grfn@gws.fyi> Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
1f84d90811
commit
9669fa8ff1
4 changed files with 16 additions and 1 deletions
1
tvix/eval/src/tests/tvix_tests/eval-okay-readfile.exp
Normal file
1
tvix/eval/src/tests/tvix_tests/eval-okay-readfile.exp
Normal file
|
|
@ -0,0 +1 @@
|
|||
"builtins.readFile ./eval-okay-readfile.nix\n"
|
||||
1
tvix/eval/src/tests/tvix_tests/eval-okay-readfile.nix
Normal file
1
tvix/eval/src/tests/tvix_tests/eval-okay-readfile.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
builtins.readFile ./eval-okay-readfile.nix
|
||||
Loading…
Add table
Add a link
Reference in a new issue