core/pkgs/build-support/cc-wrapper/go-wrapper.sh

12 lines
161 B
Bash
Raw Normal View History

2024-05-02 00:46:19 +00:00
#! @shell@
set -eu -o pipefail +o posix
shopt -s nullglob
if (( "${NIX_DEBUG:-0}" >= 7 )); then
set -x
fi
export GCCGO="@out@/bin/gccgo"
exec @prog@ "$@"