From e4ee5e2eb57eb663944045a0193347a06eda1f7c Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Sun, 28 Sep 2025 00:02:20 +0200 Subject: [PATCH] testing: disable substitution in f2 mirrors f1. much faster. Change-Id: I38bbbd5b26220f480afe76ef9302e5c90f21507a --- tests/functional2/testlib/fixtures/nix.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/functional2/testlib/fixtures/nix.py b/tests/functional2/testlib/fixtures/nix.py index f794ecf9a..07a4f9e09 100644 --- a/tests/functional2/testlib/fixtures/nix.py +++ b/tests/functional2/testlib/fixtures/nix.py @@ -46,6 +46,9 @@ class NixSettings: config = dedent(f""" show-trace = true sandbox = true + # explicitly disable substitution by default, otherwise we may attempt to contact + # substituters and slow down many tests with pointless connection retry timeouts. + substituters = extra-sandbox-paths = {" ".join(env.path.to_sandbox_paths())} """) # Note: newline at the end is required due to nix being nix;