mirror of
https://github.com/NixOS/nix
synced 2025-07-09 03:43:54 +02:00
Test remote building with fixed output derivations
This commit is contained in:
parent
13e49be660
commit
dbf96e10ec
5 changed files with 58 additions and 4 deletions
|
@ -1,5 +1,3 @@
|
|||
source common.sh
|
||||
|
||||
if ! canUseSandbox; then exit; fi
|
||||
if ! [[ $busybox =~ busybox ]]; then exit; fi
|
||||
|
||||
|
@ -18,7 +16,7 @@ builders=(
|
|||
# Note: ssh://localhost bypasses ssh, directly invoking nix-store as a
|
||||
# child process. This allows us to test LegacySSHStore::buildDerivation().
|
||||
# ssh-ng://... likewise allows us to test RemoteStore::buildDerivation().
|
||||
nix build -L -v -f build-hook.nix -o $TEST_ROOT/result --max-jobs 0 \
|
||||
nix build -L -v -f $file -o $TEST_ROOT/result --max-jobs 0 \
|
||||
--arg busybox $busybox \
|
||||
--store $TEST_ROOT/machine0 \
|
||||
--builders "$(join_by '; ' "${builders[@]}")"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue