mirror of
https://github.com/NixOS/nix.git
synced 2024-11-29 10:12:28 +00:00
26 lines
481 B
Bash
26 lines
481 B
Bash
# NOTE: instances of @variable@ are substituted as defined in /mk/templates.mk
|
|
|
|
if [[ -z "${COMMON_SUBST_VARS_SH_SOURCED-}" ]]; then
|
|
|
|
COMMON_SUBST_VARS_SH_SOURCED=1
|
|
|
|
bindir=@bindir@
|
|
export coreutils=@coreutils@
|
|
#lsof=@lsof@
|
|
|
|
export dot=@dot@
|
|
export PAGER=cat
|
|
export busybox="@sandbox_shell@"
|
|
|
|
export version=@PACKAGE_VERSION@
|
|
export system=@system@
|
|
|
|
export BUILD_SHARED_LIBS=@BUILD_SHARED_LIBS@
|
|
|
|
if ! isTestOnNixOS; then
|
|
export SHELL="@bash@"
|
|
export PATH=@bindir@:$PATH
|
|
fi
|
|
|
|
fi
|