nixpkgs-suyu/pkgs/development/tools/build-managers/bazel/bazel_rc.patch
Guillaume Bouchard 4fdea7312e bazel: bazelRC path set by a patch
In bazel source code change in the future, patch will fail and we'll
detect the regression sooner.
2019-12-05 11:45:36 +01:00

13 lines
589 B
Diff

diff --git a/src/main/cpp/option_processor.cc b/src/main/cpp/option_processor.cc
index 8f8f15685f..a7ae52d1e4 100644
--- a/src/main/cpp/option_processor.cc
+++ b/src/main/cpp/option_processor.cc
@@ -56,7 +56,7 @@ OptionProcessor::OptionProcessor(
: workspace_layout_(workspace_layout),
startup_options_(std::move(default_startup_options)),
parse_options_called_(false),
- system_bazelrc_path_(BAZEL_SYSTEM_BAZELRC_PATH) {}
+ system_bazelrc_path_("@bazelSystemBazelRCPath@") {}
OptionProcessor::OptionProcessor(
const WorkspaceLayout* workspace_layout,