3
0
Fork 0
forked from mirrors/nixpkgs

stdenv: declare missing variables

This commit is contained in:
happysalada 2021-07-19 14:55:56 +09:00 committed by Raphael Megzari
parent 4fdee57420
commit 54475daa27

View file

@ -329,6 +329,10 @@ declare -a pkgTargetHookVars=(envTargetTargetHook)
declare -a pkgHookVarVars=(pkgBuildHookVars pkgHostHookVars pkgTargetHookVars)
# those variables are declared here, since where and if they are used varies
# shellcheck disable=SC2034
declare -a preFixupHooks fixupOutputHooks preConfigureHooks postFixupHooks postUnpackHooks unpackCmdHooks
# Add env hooks for all sorts of deps with the specified host offset.
addEnvHooks() {
local depHostOffset="$1"