nix/pkgs/copybara: switch to JDK15 after nixpkgs update

This commit is contained in:
Luke Granger-Brown 2021-01-11 17:44:05 +00:00
parent ef6eb092f9
commit 47c6327b4d

View file

@ -30,7 +30,7 @@ pkgs.buildBazelPackage rec {
installPhase = '' installPhase = ''
mkdir -p $out/bin $out/share/java mkdir -p $out/bin $out/share/java
install -Dm755 bazel-bin/java/com/google/copybara/copybara_deploy.jar $out/share/java/copybara.jar 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" --add-flags "-cp $out/share/java/copybara.jar com.google.copybara.Main"
''; '';
}; };