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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
161 B
Bash
Raw Permalink Normal View History

2023-01-20 13:31:54 +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@ "$@"