about summary refs log tree commit diff
path: root/tvix/cli/default.nix
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2024-01-16T15·58+0100
committerclbot <clbot@tvl.fyi>2024-01-16T16·50+0000
commit99615002a7615f771269117e576158f2beba4f09 (patch)
tree7132e9681b0755d1f2e4abd53386bf31679f7fda /tvix/cli/default.nix
parent28ebd0d5c874dfbdc4db2ab2ca8c2c2747ff4973 (diff)
fix(tvix/cli/ci): prevent unnecessary dep on compared out/drv path r/7393
Change-Id: Ieab16fd5fad67a4ed0124f118aef8abbefd51cdb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10646
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/cli/default.nix')
-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