Unverified Commit 63c7774d authored by Uri Baghin's avatar Uri Baghin Committed by GitHub
Browse files

Merge pull request #245860 from dmivankov/patch-4

bazel_6: installCheckPhase .bazelversion override
parents eff85f83 57909125
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -625,6 +625,12 @@ stdenv.mkDerivation rec {

    cd ./bazel_src

    # If .bazelversion file is present in dist files and doesn't match `bazel` version
    # running `bazel` command within bazel_src will fail.
    # Let's remove .bazelversion within the test, if present it is meant to indicate bazel version
    # to compile bazel with, not version of bazel to be built and tested.
    rm -f .bazelversion

    # test whether $WORKSPACE_ROOT/tools/bazel works

    mkdir -p tools