python3Packages.tensorflow-probability: unbreak build with bazel 7

This commit is contained in:
Kirill Radzikhovskyy
2025-12-30 07:01:40 +11:00
parent 8a5613be5c
commit c4916f86c9
@@ -78,10 +78,12 @@ let
bazel = bazel;
bazelTargets = [ ":pip_pkg" ];
bazelFlags = [ "--noenable_bzlmod" ];
removeRulesCC = false;
LIBTOOL = lib.optionalString stdenv.hostPlatform.isDarwin "${cctools}/bin/libtool";
fetchAttrs = {
sha256 = "sha256-TbWcWYidyXuAMgBnO2/k0NKCzc4wThf2uUeC3QxdBJY=";
sha256 = "sha256-7sPdIHWNFn13eaUanFgN988hFAwGnlU6cxmHOJUDpiQ=";
};
buildAttrs = {
@@ -146,7 +148,5 @@ buildPythonPackage {
changelog = "https://github.com/tensorflow/probability/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
# Needs update for Bazel 7.
broken = true;
};
}