aboutsummaryrefslogtreecommitdiff
path: root/tests/build-remote.sh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-08-18 16:12:35 +0200
committerGitHub <noreply@github.com>2020-08-18 16:12:35 +0200
commit0c9365c6ba69695f5ae74112c1a0303ba7854fee (patch)
tree02c39fd9c036923f1cfb5fca2e1d76588b5fca52 /tests/build-remote.sh
parentdfeb76dbf983cf4f1067af2d8e27be0e4742c1e5 (diff)
parent07975979aae4e7729ae13ffeb7390d07d71ad4bd (diff)
Merge pull request #3940 from obsidiansystems/fixed-output-remote-builder-test
Add commented-out test for remote building with fixed output derivations
Diffstat (limited to 'tests/build-remote.sh')
-rw-r--r--tests/build-remote.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/build-remote.sh b/tests/build-remote.sh
index 8833f4698..ca6d1de09 100644
--- a/tests/build-remote.sh
+++ b/tests/build-remote.sh
@@ -1,5 +1,3 @@
-source common.sh
-
if ! canUseSandbox; then exit; fi
if ! [[ $busybox =~ busybox ]]; then exit; fi
@@ -19,7 +17,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[@]}")"