summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Maudoux <guillaume.maudoux@tweag.io>2023-12-18 17:33:28 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-01-02 08:19:49 +0000
commita68867fd83e647c5aae4a431a04f341c5624389c (patch)
tree4516e4887511a835fba02897e9f6399cd088e76e
parentbazel_7: backport bazel_6 bash fixes for remote execution (diff)
downloadnixpkgs-a68867fd83e647c5aae4a431a04f341c5624389c.tar.gz
bazel_7: Unse runJDK for runtime
(cherry picked from commit 1795976a325d1fdfee9004440cccb580ea6eaae9)
-rw-r--r--pkgs/development/tools/build-managers/bazel/bazel_7/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/build-managers/bazel/bazel_7/default.nix b/pkgs/development/tools/build-managers/bazel/bazel_7/default.nix
index 34e371a43423..f3afd6c78b76 100644
--- a/pkgs/development/tools/build-managers/bazel/bazel_7/default.nix
+++ b/pkgs/development/tools/build-managers/bazel/bazel_7/default.nix
@@ -153,7 +153,7 @@ let
bazelRC = writeTextFile {
name = "bazel-rc";
text = ''
- startup --server_javabase=${buildJdk}
+ startup --server_javabase=${runJdk}
# Register nix-specific nonprebuilt java toolchains
build --extra_toolchains=@bazel_tools//tools/jdk:all