go: disable tests on darwin
Unfortunately, i can’t get these to work: https://hydra.nixos.org/build/92530029/nixlog/1/tail Hopefully we can fix them at some point. /cc @cstrahan @orivej @mic92
This commit is contained in:
parent
ba957d538d
commit
31060e23ba
@ -145,6 +145,8 @@ stdenv.mkDerivation rec {
|
|||||||
# Hopefully avoids test timeouts on Hydra
|
# Hopefully avoids test timeouts on Hydra
|
||||||
GO_TEST_TIMEOUT_SCALE = 3;
|
GO_TEST_TIMEOUT_SCALE = 3;
|
||||||
|
|
||||||
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
# The go build actually checks for CC=*/clang and does something different, so we don't
|
# The go build actually checks for CC=*/clang and does something different, so we don't
|
||||||
# just want the generic `cc` here.
|
# just want the generic `cc` here.
|
||||||
CC = if stdenv.isDarwin then "clang" else "cc";
|
CC = if stdenv.isDarwin then "clang" else "cc";
|
||||||
|
@ -183,7 +183,7 @@ stdenv.mkDerivation rec {
|
|||||||
(cd src && ./make.bash)
|
(cd src && ./make.bash)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = stdenv.hostPlatform == stdenv.targetPlatform;
|
doCheck = stdenv.hostPlatform == stdenv.targetPlatform && !stdenv.isDarwin;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
|
@ -190,7 +190,7 @@ stdenv.mkDerivation rec {
|
|||||||
(cd src && ./make.bash)
|
(cd src && ./make.bash)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = stdenv.hostPlatform == stdenv.targetPlatform;
|
doCheck = stdenv.hostPlatform == stdenv.targetPlatform && !stdenv.isDarwin;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
|
Loading…
x
Reference in New Issue
Block a user