mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 11:36:03 +01:00
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.
This commit is contained in:
parent
f88c3055f8
commit
4f19e63a8f
1 changed files with 3 additions and 3 deletions
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue