Skip to content

v1.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 23 Sep 18:34
· 24 commits to master since this release
a361943

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 = "1.0")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_haskell",
    sha256 = "4cae22bc84f327bf3cb7605021c3663160ff6bc8a0b7b6266062366bcbd19e79",
    strip_prefix = "rules_haskell-1.0",
    urls = ["https://github.com/tweag/rules_haskell/releases/download/v1.0/rules_haskell-1.0.tar.gz"],
)

load("@rules_haskell//haskell:repositories.bzl", "rules_haskell_dependencies")

rules_haskell_dependencies()

1.0 2024-09-23

Highlights

  • Support for Bazel 7 (see #2232)
  • Support for GHC 9.8.x (see #2132)

Added

  • Support for unit-based hie-bios script for ghc 9.4+ (See #2218)
  • Preliminary support for GHC 9.10.x (See #2198)

Fixed

  • Handle RTS library for GHC 9.4+ (See #2202)
  • Error when building cabal sub-libraries (See #2135)

Changed

  • Use ghc 9.4.6 by default
  • Use Bazel 6.5.0 by default (See #2117)
  • Update nixpkgs revision to nixos-24.05,
    note*: requires rules_nixpkgs version >= 0.12 (See #2217)
  • Asterius is deprecated and not tested anymore (See #2182)
  • No longer create empty libraries (See #2158)
  • Make static linking of haskell_cabal_binary explicit (See #2148)

Removed

  • Testing GHC 9.2.x on CI