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:
parent
4fdee57420
commit
54475daa27
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue