about summary refs log tree commit diff
path: root/tvix/cli
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/cli')
-rw-r--r--tvix/cli/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/cli/default.nix b/tvix/cli/default.nix
index 85c65689f859..8782d34bf693 100644
--- a/tvix/cli/default.nix
+++ b/tvix/cli/default.nix
@@ -7,7 +7,7 @@ let
 
     command = pkgs.writeShellScript "tvix-eval-${builtins.replaceStrings [".drv"] ["-drv"] attrset}" ''
       TVIX_OUTPUT=$(result/bin/tvix -E '(import ${pkgs.path} {}).${attrset}')
-      EXPECTED='${/* the verbatim expected Tvix output: */ "=> \"${expectedPath}\" :: string"}'
+      EXPECTED='${/* the verbatim expected Tvix output: */ "=> \"${builtins.unsafeDiscardStringContext expectedPath}\" :: string"}'
 
       echo "Tvix output: ''${TVIX_OUTPUT}"
       if [ "$TVIX_OUTPUT" != "$EXPECTED" ]; then