go: update nonfatal build error list

This commit is contained in:
Orivej Desh 2017-09-10 08:23:27 +00:00
parent 29d93f97ab
commit 07d2a5b412
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ go.stdenv.mkDerivation (
[ -n "$excludedPackages" ] && echo "$d" | grep -q "$excludedPackages" && return 0
local OUT
if ! OUT="$(go $cmd $buildFlags "''${buildFlagsArray[@]}" -v $d 2>&1)"; then
if ! echo "$OUT" | grep -q 'no buildable Go source files'; then
if ! echo "$OUT" | grep -qE '(no( buildable| non-test)?|build constraints exclude all) Go (source )?files'; then
echo "$OUT" >&2
return 1
fi