From 99615002a7615f771269117e576158f2beba4f09 Mon Sep 17 00:00:00 2001 From: sterni Date: Tue, 16 Jan 2024 16:58:08 +0100 Subject: fix(tvix/cli/ci): prevent unnecessary dep on compared out/drv path Change-Id: Ieab16fd5fad67a4ed0124f118aef8abbefd51cdb Reviewed-on: https://cl.tvl.fyi/c/depot/+/10646 Reviewed-by: flokli Tested-by: BuildkiteCI Autosubmit: sterni --- tvix/cli/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1