summary refs log blame commit diff
path: root/pkgs/build-support/cc-wrapper/go-wrapper.sh
blob: 5dfc5d2b73fc95ded8dff5c61c1f0aba21b13d9d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                     
#! @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@ "$@"