From 4f19e63a8fa3f8079adce11a87374fa3fb8d2709 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Costa Date: Sat, 18 Oct 2025 23:44:10 +0000 Subject: [PATCH] refactor(tests/nixos/s3-binary-cache-store): add --no-link to nix build commands Prevent creation of result symlinks in all nix build commands by adding the --no-link flag. --- tests/nixos/s3-binary-cache-store.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/nixos/s3-binary-cache-store.nix b/tests/nixos/s3-binary-cache-store.nix index 68d123b51..d47273196 100644 --- a/tests/nixos/s3-binary-cache-store.nix +++ b/tests/nixos/s3-binary-cache-store.nix @@ -252,7 +252,7 @@ in """.format(id=test_id, url=test_url, hash=cache_info_hash) output = client.succeed( - f"{ENV_WITH_CREDS} nix build --debug --impure --expr '{fetchurl_expr}' 2>&1" + f"{ENV_WITH_CREDS} nix build --debug --impure --no-link --expr '{fetchurl_expr}' 2>&1" ) # Verify fork behavior @@ -392,12 +392,12 @@ in try: output = client.succeed( - f"{ENV_WITH_CREDS} nix build --debug --impure " + f"{ENV_WITH_CREDS} nix build --debug --impure --no-link " f"--expr '{concurrent_expr}' --max-jobs 5 2>&1" ) except: output = client.fail( - f"{ENV_WITH_CREDS} nix build --debug --impure " + f"{ENV_WITH_CREDS} nix build --debug --impure --no-link " f"--expr '{concurrent_expr}' --max-jobs 5 2>&1" )