about summary refs log tree commit diff
path: root/tvix/glue/src/tests/tvix_tests/eval-okay-storePath2.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/glue/src/tests/tvix_tests/eval-okay-storePath2.nix')
-rw-r--r--tvix/glue/src/tests/tvix_tests/eval-okay-storePath2.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/tvix/glue/src/tests/tvix_tests/eval-okay-storePath2.nix b/tvix/glue/src/tests/tvix_tests/eval-okay-storePath2.nix
new file mode 100644
index 000000000000..2d1fc45871f3
--- /dev/null
+++ b/tvix/glue/src/tests/tvix_tests/eval-okay-storePath2.nix
@@ -0,0 +1,8 @@
+let
+  path = builtins.unsafeDiscardStringContext "${../dummy}";
+  storePath = builtins.storePath path;
+in
+{
+  plain = builtins.storePath path;
+  withSubPath = builtins.storePath (path + "/.keep");
+}