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:
@@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user