mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +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)
|
""".format(id=test_id, url=test_url, hash=cache_info_hash)
|
||||||
|
|
||||||
output = client.succeed(
|
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
|
# Verify fork behavior
|
||||||
|
|
@ -392,12 +392,12 @@ in
|
||||||
|
|
||||||
try:
|
try:
|
||||||
output = client.succeed(
|
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"
|
f"--expr '{concurrent_expr}' --max-jobs 5 2>&1"
|
||||||
)
|
)
|
||||||
except:
|
except:
|
||||||
output = client.fail(
|
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"
|
f"--expr '{concurrent_expr}' --max-jobs 5 2>&1"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue