Skip to content

v0.18

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Dec 09:01
· 442 commits to master since this release

Using bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_haskell", version = "0.18")

Using WORKSPACE

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_haskell",
    sha256 = "d1f0e1bd4f1d5e248b2882bfdc7c31a146112f9d85b9d2f0ef77e78d02ecba45",
    strip_prefix = "rules_haskell-0.18",
    url = "https://github.com/tweag/rules_haskell/releases/download/v0.18/rules_haskell-0.18.tar.gz",
)

Highlights

Changed

  • Use GHC 9.2.8 by default (See #1994)
  • Use Bazel 6.4.0 by default (See #2063)
  • start script supports bzlmod with bindists (See #2046)
  • Support Python Windows App aliases (See #2060)

Fixed

  • Error using snapshot tag from stack_snapshot module extension (See #2001)
  • Build gi-gtk from stackage (See #1752)
  • X is not a toolchain library (See #1920)

Removed

  • GHC versions < 8.10 are no longer supported (see #2093)
  • remove compiler_flags option which was deprecated since 0.14 from macros and rules
  • remove <name>-repl aliases for repl targets introduced in 0.7
  • remove deprecated nixpkgs platform aliases introduced in 0.13