···22set -eu -o pipefail
33shopt -s nullglob
4455+if (( "${NIX_DEBUG:-0}" >= 7 )); then
66+ set -x
77+fi
88+59path_backup="$PATH"
610711# That @-vars are substituted separately from bash evaluation makes
+4
pkgs/build-support/cc-wrapper/gnat-wrapper.sh
···22set -eu -o pipefail
33shopt -s nullglob
4455+if (( "${NIX_DEBUG:-0}" >= 7 )); then
66+ set -x
77+fi
88+59# N.B. Gnat is not used during bootstrapping, so we don't need to
610# worry about the old bash empty array `set -u` workarounds.
711
+4
pkgs/build-support/cc-wrapper/gnatlink-wrapper.sh
···22set -eu -o pipefail
33shopt -s nullglob
4455+if (( "${NIX_DEBUG:-0}" >= 7 )); then
66+ set -x
77+fi
88+59# N.B. Gnat is not used during bootstrapping, so we don't need to
610# worry about the old bash empty array `set -u` workarounds.
711
···22set -eu -o pipefail
33shopt -s nullglob
4455+if (( "${NIX_DEBUG:-0}" >= 7 )); then
66+ set -x
77+fi
88+59declare -a args=("$@")
610# I've also tried adding -z direct and -z lazyload, but it gave too many problems with C++ exceptions :'(
711# Also made sure libgcc would not be lazy-loaded, as suggested here: https://www.illumos.org/issues/2534#note-3
+4
pkgs/build-support/cc-wrapper/ld-wrapper.sh
···22set -eu -o pipefail
33shopt -s nullglob
4455+if (( "${NIX_DEBUG:-0}" >= 7 )); then
66+ set -x
77+fi
88+59path_backup="$PATH"
610711# phase separation makes this look useless