mozc: bump to Bazel 7

Co-authored-by: Shogo Takata <peshogo@gmail.com>
This commit is contained in:
Emily
2025-08-24 18:22:40 +01:00
co-authored by Shogo Takata
parent 3a5b2aa3bb
commit 6da76297f0
+9 -5
View File
@@ -5,7 +5,7 @@
qt6,
pkg-config,
protobuf_27,
bazel,
bazel_7,
ibus,
unzip,
xdg-utils,
@@ -43,14 +43,18 @@ buildBazelPackage rec {
dontAddBazelOpts = true;
removeRulesCC = false;
inherit bazel;
bazel = bazel_7;
fetchAttrs = {
sha256 = "sha256-+N7AhSemcfhq6j0IUeWZ0DyVvr1l5FbAkB+kahTy3pM=";
hash = "sha256-c+v2vWvTmwJ7MFh3VJlUh+iSINjsX66W9K0UBX5K/1s=";
# remove references of buildInputs and zip code files
preInstall = ''
rm -rv $bazelOut/external/{ibus,qt_linux,zip_code_*}
# Remove zip code data. It will be replaced with jp-zip-codes from nixpkgs
rm -rv "$bazelOut"/external/zip_code_{jigyosyo,ken_all}
# Remove references to buildInputs
rm -rv "$bazelOut"/external/{ibus,qt_linux}
# Remove reference to the host platform
rm -rv "$bazelOut"/external/host_platform
'';
};