feat(tvix/eval): Implement builtins.pathExists
Change-Id: Ife8a690e9036868964771893ab29a9ae3a2d2365 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6919 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
parent
273ba73754
commit
0b8a967aca
3 changed files with 10 additions and 6 deletions
1
tvix/eval/src/tests/tvix_tests/eval-okay-pathexists.exp
Normal file
1
tvix/eval/src/tests/tvix_tests/eval-okay-pathexists.exp
Normal file
|
|
@ -0,0 +1 @@
|
|||
true
|
||||
2
tvix/eval/src/tests/tvix_tests/eval-okay-pathexists.nix
Normal file
2
tvix/eval/src/tests/tvix_tests/eval-okay-pathexists.nix
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
builtins.pathExists ./lib.nix
|
||||
&& !builtins.pathExists ./bla.nix
|
||||
Loading…
Add table
Add a link
Reference in a new issue