setup.sh: shellcheck disable=SC2034

https://github.com/koalaman/shellcheck/wiki/SC2034
This commit is contained in:
happysalada 2021-06-24 13:47:42 +09:00 committed by Raphael Megzari
parent 740582739c
commit b1c5a9f008

View file

@ -1190,6 +1190,8 @@ fixupPhase() {
mkdir -p "${!outputDev}/nix-support"
local hook
for hook in $setupHooks; do
# content is being assigned to in the following lines
# shellcheck disable=SC2034
local content
consumeEntire content < "$hook"
substituteAllStream content "file '$hook'" >> "${!outputDev}/nix-support/setup-hook"