Using bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in .bazelrc
.
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_haskell", version = "0.19")
Using WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_haskell",
sha256 = "34742848a8882d94a0437b3b1917dea6f58c82fe5762afe8d249d3a36e51935d",
strip_prefix = "rules_haskell-0.19",
url = "https://github.com/tweag/rules_haskell/releases/download/v0.19/rules_haskell-0.19.tar.gz",
)
Highlights
- Fix toolchain libraries creation when using
ghcWithPackages
(#2098)
Added
Changed
- Upgrade
rules_sh
to 0.4.0
(#2103)
Fixed