about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-10-21T09·57+0200
committerclbot <clbot@tvl.fyi>2024-10-21T12·59+0000
commit1f75fee0ddd35cebd448b3063986121a67ca2f45 (patch)
tree66d732ee1f40d0ba0864ad21acb3e123ad1df358
parent84a82f6f41b422f7f76e44e3705ee509b6c6eaf6 (diff)
fix(tvix/glue): don't use builtins.currentSystem in test r/8850
This test will otherwise obviously fail on aarch64-linux, or anything
not x86_64-linux, as it'll produce a different Derivation.

Change-Id: Iedddcb6aeff05e49fc2e6da27f08111cdc9affec
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12677
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: edef <edef@edef.eu>
Tested-by: BuildkiteCI
-rw-r--r--tvix/glue/src/tests/tvix_tests/eval-okay-toxml-context.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/glue/src/tests/tvix_tests/eval-okay-toxml-context.nix b/tvix/glue/src/tests/tvix_tests/eval-okay-toxml-context.nix
index 933aa46022dd..352470980383 100644
--- a/tvix/glue/src/tests/tvix_tests/eval-okay-toxml-context.nix
+++ b/tvix/glue/src/tests/tvix_tests/eval-okay-toxml-context.nix
@@ -4,7 +4,7 @@
     inherit (derivation {
       name = "test";
       builder = "/bin/sh";
-      system = builtins.currentSystem;
+      system = "x86_64-linux";
     }) drvPath;
   }))