mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
parent
1e2b26734b
commit
2e12b58126
20 changed files with 106 additions and 71 deletions
|
@ -1,5 +1,11 @@
|
|||
# shellcheck shell=bash
|
||||
|
||||
# All variables should be defined externally by the scripts that source
|
||||
# this, `set -u` will catch any that are forgotten.
|
||||
# shellcheck disable=SC2154
|
||||
|
||||
requireSandboxSupport
|
||||
[[ $busybox =~ busybox ]] || skipTest "no busybox"
|
||||
[[ "$busybox" =~ busybox ]] || skipTest "no busybox"
|
||||
|
||||
unset NIX_STORE_DIR
|
||||
unset NIX_STATE_DIR
|
||||
|
@ -8,7 +14,7 @@ remoteDir=$TEST_ROOT/remote
|
|||
|
||||
# Note: ssh{-ng}://localhost bypasses ssh. See tests/functional/build-remote.sh for
|
||||
# more details.
|
||||
nix-build $file -o $TEST_ROOT/result --max-jobs 0 \
|
||||
--arg busybox $busybox \
|
||||
--store $TEST_ROOT/local \
|
||||
nix-build "$file" -o "$TEST_ROOT/result" --max-jobs 0 \
|
||||
--arg busybox "$busybox" \
|
||||
--store "$TEST_ROOT/local" \
|
||||
--builders "$proto://localhost?remote-program=$prog&remote-store=${remoteDir}%3Fsystem-features=foo%20bar%20baz - - 1 1 foo,bar,baz"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue