Commit c4916f86 authored by Kirill Radzikhovskyy's avatar Kirill Radzikhovskyy
Browse files

python3Packages.tensorflow-probability: unbreak build with bazel 7

parent 8a5613be
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;
  };
}