diff --git a/nix/pkgs/copybara.nix b/nix/pkgs/copybara.nix index 945fe868b6..91411602af 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.jdk14_headless}/bin/java $out/bin/copybara \ + makeWrapper ${pkgs.openjdk_headless}/bin/java $out/bin/copybara \ --add-flags "-cp $out/share/java/copybara.jar com.google.copybara.Main" ''; };