nix/pkgs/copybara: update for new nixpkgs

This commit is contained in:
Luke Granger-Brown 2020-07-19 18:11:09 +01:00
parent d629c95212
commit 6b2df5840e

View file

@ -13,6 +13,7 @@ pkgs.buildBazelPackage rec {
bazelTarget = "//java/com/google/copybara:copybara_deploy.jar";
removeRulesCC = false;
fetchConfigured = true;
bazelFlags = [
"--javabase=@local_jdk//:jdk"
"--host_javabase=@local_jdk//:jdk"
@ -21,7 +22,7 @@ pkgs.buildBazelPackage rec {
];
fetchAttrs = {
sha256 = "1nlkkhk7w8lnh3s416w1g1jc4qsirrgb0fggqhqamlpjr1xiv1v5";
sha256 = "0id7y01fqc6br28ccayx2z3nz75kf5gvgzh0k8701vp4g6dgd5ym";
preHook = ''
export COURSIER_CACHE="$(echo ''${NIX_BUILD_TOP}/tmp/coursier | sed -e 's,//,/,g')"
'';