copybara: depend on jdk14_headless instead of 'headful' jre
This commit is contained in:
parent
4e14ee8111
commit
7b80b817dd
1 changed files with 1 additions and 1 deletions
|
@ -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.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"
|
--add-flags "-cp $out/share/java/copybara.jar com.google.copybara.Main"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue