diff options
Diffstat (limited to 'tvix/glue/src/tests/tvix_tests/eval-okay-tofile.nix')
-rw-r--r-- | tvix/glue/src/tests/tvix_tests/eval-okay-tofile.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tvix/glue/src/tests/tvix_tests/eval-okay-tofile.nix b/tvix/glue/src/tests/tvix_tests/eval-okay-tofile.nix new file mode 100644 index 000000000000..141bbc38ec11 --- /dev/null +++ b/tvix/glue/src/tests/tvix_tests/eval-okay-tofile.nix @@ -0,0 +1,11 @@ +let + noContext = (builtins.toFile "foo" "bar"); + someContext = (builtins.toFile "foo" "bar${noContext}"); + moreContext = (builtins.toFile "foo" "bar${someContext}"); +in +[ + noContext + someContext + moreContext + (builtins.getContext moreContext) +] |