mirror of
https://github.com/NixOS/nix.git
synced 2024-10-30 22:00:57 +00:00
2e12b58126
Progress on #10795
19 lines
373 B
Bash
19 lines
373 B
Bash
# shellcheck shell=bash
|
|
|
|
set -eu -o pipefail
|
|
|
|
if [[ -z "${COMMON_SH_SOURCED-}" ]]; then
|
|
|
|
COMMON_SH_SOURCED=1
|
|
|
|
functionalTestsDir="$(readlink -f "$(dirname "${BASH_SOURCE[0]-$0}")")"
|
|
|
|
source "$functionalTestsDir/common/vars-and-functions.sh"
|
|
source "$functionalTestsDir/common/init.sh"
|
|
|
|
if [[ -n "${NIX_DAEMON_PACKAGE:-}" ]]; then
|
|
startDaemon
|
|
fi
|
|
|
|
fi # COMMON_SH_SOURCED
|