mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
34fe2478a2
Co-Authored-By: Qyriad <qyriad@qyriad.me> Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
20 lines
408 B
Bash
20 lines
408 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.sh"
|
|
source "$functionalTestsDir/common/functions.sh"
|
|
source "$functionalTestsDir/common/init.sh"
|
|
|
|
if [[ -n "${NIX_DAEMON_PACKAGE:-}" ]]; then
|
|
startDaemon
|
|
fi
|
|
|
|
fi # COMMON_SH_SOURCED
|