mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
setup.sh: shellcheck disable=SC1090
https://github.com/koalaman/shellcheck/wiki/SC1090
This commit is contained in:
parent
796f1cdbea
commit
8dbbd8fbe3
1 changed files with 3 additions and 0 deletions
|
@ -70,6 +70,7 @@ _callImplicitHook() {
|
|||
if declare -F "$hookName" > /dev/null; then
|
||||
"$hookName"
|
||||
elif test -e "$hookName" ; then
|
||||
# shellcheck disable=SC1090
|
||||
source "$hookName"
|
||||
elif [ -n "${!hookName:-}" ]; then
|
||||
eval "${!hookName}"
|
||||
|
@ -484,6 +485,7 @@ activatePackage() {
|
|||
(( "$hostOffset" <= "$targetOffset" )) || exit 1
|
||||
|
||||
if [ -f "$pkg" ]; then
|
||||
# shellcheck disable=SC1090
|
||||
source "$pkg"
|
||||
fi
|
||||
|
||||
|
@ -1287,6 +1289,7 @@ showPhaseHeader() {
|
|||
|
||||
genericBuild() {
|
||||
if [ -f "${buildCommandPath:-}" ]; then
|
||||
# shellcheck disable=SC1090
|
||||
source "$buildCommandPath"
|
||||
return
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue