go: update nonfatal build error list
This commit is contained in:
parent
29d93f97ab
commit
07d2a5b412
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue