Merge pull request #245860 from dmivankov/patch-4

bazel_6: installCheckPhase .bazelversion override
This commit is contained in:
Uri Baghin 2023-08-15 11:09:42 +10:00 committed by GitHub
commit 63c7774d20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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