|
|
|
@ -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 |
|
|
|
|