bazel: Don't perform the checkPhase, since it's redundant with installCheckPhase.

This change is going to be required when upgrading to Bazel 0.20.0,
because in the checkPhase we're not wrapping the Bazel binary yet to
set some necessary default arguments.
This commit is contained in:
Mathieu Boespflug 2018-12-09 15:50:07 +01:00 committed by Profpatsch
parent e38c84dced
commit 463498e3fa

View file

@ -180,16 +180,6 @@ stdenv.mkDerivation rec {
--prepend=scripts/bazel-complete-template.bash
'';
# Build the CPP and Java examples to verify that Bazel works.
doCheck = true;
checkPhase = ''
export TEST_TMPDIR=$(pwd)
./output/bazel test --test_output=errors \
examples/cpp:hello-success_test \
examples/java-native/src/test/java/com/example/myproject:hello
'';
installPhase = ''
mkdir -p $out/bin