forked from mirrors/nixpkgs
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:
parent
e38c84dced
commit
463498e3fa
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue