From 7b80b817dd9c3a6bcba76d033a24ee7941f5c97c Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 18 Oct 2020 13:26:29 +0000 Subject: [PATCH] copybara: depend on jdk14_headless instead of 'headful' jre --- nix/pkgs/copybara.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/pkgs/copybara.nix b/nix/pkgs/copybara.nix index 3018c57e08..945fe868b6 100644 --- a/nix/pkgs/copybara.nix +++ b/nix/pkgs/copybara.nix @@ -30,7 +30,7 @@ pkgs.buildBazelPackage rec { installPhase = '' mkdir -p $out/bin $out/share/java install -Dm755 bazel-bin/java/com/google/copybara/copybara_deploy.jar $out/share/java/copybara.jar - makeWrapper ${pkgs.jre}/bin/java $out/bin/copybara \ + makeWrapper ${pkgs.jdk14_headless}/bin/java $out/bin/copybara \ --add-flags "-cp $out/share/java/copybara.jar com.google.copybara.Main" ''; };