diff options
author | Guillaume Bouchard <guillaume.bouchard@tweag.io> | 2019-12-05 10:40:36 +0100 |
---|---|---|
committer | Guillaume Bouchard <guillaume.bouchard@tweag.io> | 2019-12-05 11:17:13 +0100 |
commit | 1ce0375b2f76976956fe07ee344cdc861a0dca70 (patch) | |
tree | 662d671f054090a159f009a511eb7866ac49fc7b /pkgs/development/tools/build-managers/bazel/default.nix | |
parent | 0cffa85d571ffa8d36acb5b643e2ecb6a039e5e9 (diff) |
bazel: close #70911 by conditionally loading system wide configuration
Some system may setup global informations (such as bazel cache location) in /etc/bazel.bazelrc
Diffstat (limited to 'pkgs/development/tools/build-managers/bazel/default.nix')
-rw-r--r-- | pkgs/development/tools/build-managers/bazel/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/tools/build-managers/bazel/default.nix b/pkgs/development/tools/build-managers/bazel/default.nix index 6d8eb56bdf336..2be3cac1748d5 100644 --- a/pkgs/development/tools/build-managers/bazel/default.nix +++ b/pkgs/development/tools/build-managers/bazel/default.nix @@ -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 ''; }; |