mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
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:
parent
0cffa85d57
commit
1ce0375b2f
@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user