rules_haskell icon indicating copy to clipboard operation
rules_haskell copied to clipboard

chore: upgrade Bazel to 6.5.0

Open cgrindel opened this issue 2 years ago • 2 comments

cgrindel avatar Feb 07 '24 15:02 cgrindel

Ugh. I forgot about the Nix tests. I will need to see if someone has upgraded bazel_6.

cgrindel avatar Feb 07 '24 15:02 cgrindel

Ugh. I forgot about the Nix tests. I will need to see if someone has upgraded bazel_6.

I tried to, but ran into problems on Darwin. See https://github.com/NixOS/nixpkgs/pull/283480

avdv avatar Feb 07 '24 16:02 avdv

Picking this up again, after Bazel 6.5.0 landed in nixos-unstable :tada:

Note

First, I tried to go the usual route of upgrading nixpkgs to nixos-unstable to get a hold of Bazel 6.5.0. But this failed for various reasons:

  1. Asterius would segfault
  2. GHC 9.6.2 is no longer available in nixos-unstable and I had to upgrade to 9.6.3
  3. the new version of Sphinx failed (maybe just a flake)
  4. on Darwin the nixpkgs cc toolchain failed, since pkgs.llvmPackages.libcxxabi is not available

So I decided to just update Bazel by introducing a nixos-unstable repository and only using bazel_6 from there. We'll have to deal with the nixpkgs upgrade once 24.05 is released.

avdv avatar Apr 29 '24 05:04 avdv

@mergifyio rebase

avdv avatar Apr 30 '24 07:04 avdv

rebase

✅ Branch has been successfully rebased

mergify[bot] avatar Apr 30 '24 07:04 mergify[bot]

@mergifyio rebase

avdv avatar Apr 30 '24 09:04 avdv

rebase

✅ Branch has been successfully rebased

mergify[bot] avatar Apr 30 '24 09:04 mergify[bot]