1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

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) 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. # Add env hooks for all sorts of deps with the specified host offset.
addEnvHooks() { addEnvHooks() {
local depHostOffset="$1" local depHostOffset="$1"