bazel: close #70911 by conditionally loading system wide configuration

Some system may setup global informations (such as bazel cache location)
in /etc/bazel.bazelrc
This commit is contained in:
Guillaume Bouchard 2019-12-05 10:40:36 +01:00
parent 0cffa85d57
commit 1ce0375b2f

View File

@ -133,6 +133,9 @@ let
build --override_repository=${remote_java_tools.name}=${remote_java_tools}
build --distdir=${distDir}
startup --server_javabase=${runJdk}
# load default location for the system wide configuration
try-import /etc/bazel.bazelrc
'';
};