Skip to content

Commit 1b476c3

Browse files
authored
Merge pull request #2063 from tweag/upgrade-bazel-6.4.0
Update Bazel to 6.4.0
2 parents 1235928 + 6e9f843 commit 1b476c3

22 files changed

+60
-30
lines changed

.ci/bazel-6.2.0-darwin-x86_64.sha256

Lines changed: 0 additions & 1 deletion
This file was deleted.

.ci/bazel-6.2.0-linux-x86_64.sha256

Lines changed: 0 additions & 1 deletion
This file was deleted.

.ci/bazel-6.2.0-windows-x86_64.exe.sha256

Lines changed: 0 additions & 1 deletion
This file was deleted.

.ci/bazel-6.4.0-darwin-x86_64.sha256

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
eef2661dabc3de09c9c8f839f7789b29763ea9987659e432b3c4e6246b3fe5df bazel-6.4.0-darwin-x86_64

.ci/bazel-6.4.0-linux-x86_64.sha256

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
79e4f370efa6e31717b486af5d9efd95864d0ef13da138582224ac9b2a1bad86 bazel-6.4.0-linux-x86_64
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ff94279f7de7ec604c40b5d760f0dc10bdc880f07e915adced825f53e5f4fa1b bazel-6.4.0-windows-x86_64.exe

.ci/bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.2.0
1+
6.4.0

.github/workflows/workflow.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
strategy:
4444
fail-fast: false
4545
matrix:
46-
os: [ubuntu-latest, macos-11]
46+
os: [ubuntu-latest, macos-latest]
4747
module: [rules_haskell, rules_haskell_nix, rules_haskell_tests]
4848
bzlmod: [true, false]
4949
ghc:
@@ -144,7 +144,7 @@ jobs:
144144
strategy:
145145
fail-fast: false
146146
matrix:
147-
os: [ubuntu-latest, macos-11, windows-latest]
147+
os: [ubuntu-latest, macos-latest, windows-latest]
148148
module: [rules_haskell, rules_haskell_tests]
149149
bzlmod: [true, false]
150150
ghc:
@@ -165,14 +165,14 @@ jobs:
165165
# prevent auto-detection of system compilers on Windows
166166
BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN: ${{ matrix.os == 'windows-latest' && 1 || 0 }}
167167
# do not use Xcode on macOS
168-
BAZEL_USE_CPP_ONLY_TOOLCHAIN: ${{ matrix.os == 'macos-11' && 1 || 0 }}
168+
BAZEL_USE_CPP_ONLY_TOOLCHAIN: ${{ matrix.os == 'macos-latest' && 1 || 0 }}
169169
GHC_VERSION: ${{ matrix.ghc }}
170170
runs-on: ${{ matrix.os }}
171171
steps:
172172
- uses: actions/checkout@v4
173173
- uses: ./.github/actions/free_disk_space_on_linux
174174
- uses: ./.github/actions/install_apt_pkgs
175-
with:
175+
with:
176176
packages: libtinfo5
177177
- name: Mount Bazel cache
178178
uses: actions/cache@v3

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ for Haskell. Get started building your own project using these rules
1212
with the [setup script below](#setup).
1313

1414
[bazel]: https://bazel.build/
15-
[bazel-getting-started]: https://docs.bazel.build/versions/master/getting-started.html
15+
[bazel-getting-started]: https://bazel.build/start
1616
[bazel-cli]: https://docs.bazel.build/versions/master/command-line-reference.html
1717
[external-repositories]: https://docs.bazel.build/versions/master/external.html
1818
[nix]: https://nixos.org/nix
@@ -23,7 +23,7 @@ The full reference documentation for rules is at https://haskell.build.
2323

2424
## Setup
2525

26-
You'll need [Bazel >= 5.0][bazel-getting-started] installed.
26+
You'll need [Bazel >= 6.0][bazel-getting-started] installed.
2727

2828
If you are on NixOS, skip to the [Nixpkgs](#Nixpkgs) section.
2929

@@ -335,12 +335,12 @@ http_archive(
335335

336336
To reference a local checkout instead, use the
337337
[`--override_repository`][override_repository] command line option:
338-
338+
339339
```
340340
bazel build/test/run/sync \
341341
--override_repository rules_haskell=/path/to/checkout
342342
```
343-
343+
344344
If you don’t want to type that every time, [temporarily add it to
345345
`.bazelrc`][bazelrc].
346346

docs/haskell-use-cases.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ configuration can be avoided by telling Nix to fetch it from the
12281228
`haskell.nix binary cache`_.
12291229

12301230
.. _arm example: https://github.com/tweag/rules_haskell/blob/master/examples/arm/arm-cross.nix
1231-
.. _haskell.nix binary cache: https://input-output-hk.github.io/haskell.nix/tutorials/getting-started/#setting-up-the-binary-cache
1231+
.. _haskell.nix binary cache: https://input-output-hk.github.io/haskell.nix/tutorials/getting-started.html#setting-up-the-binary-cache
12321232

12331233
To tell ``rules_haskell`` about the cross-compiler, we can register it
12341234
in the `WORKSPACE file <https://github.com/tweag/rules_haskell/blob/master/examples/arm/WORKSPACE>`_. ::

0 commit comments

Comments
 (0)