Skip to content

Commit d84b2f1

Browse files
doc/rl-2511: note removal of llvmPackages from haskell.packages.*
This should be the only observable breakage from #441101 / 921f5db.
1 parent 14c1ab0 commit d84b2f1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

doc/release-notes/rl-2511.section.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
The latter was probably broken anyway.
3535
If there is interest in restoring support for these architectures, it should be possible to cross‐compile a bootstrap GHC binary.
3636

37+
- `haskellPackages` and the package sets under `haskell.packages` no longer expose an `llvmPackages` attribute,
38+
though it can still be accessed via `ghc.llvmPackages` (from the same package set).
39+
Haskell packages usually only need to depend on an LLVM version matching GHC if they force the use the LLVM
40+
backend even if NCG is available. In this case, it is best to use the `forceLlvmCodegenBackend` helper.
41+
In all other cases, like linking against `libLLVM`, Haskell packages should use the appropriate version of `llvmPackages` from `pkgs`.
42+
3743
- `base16-builder` node package has been removed due to lack of upstream maintenance.
3844

3945
- `python3Packages.bjoern` has been removed, as the upstream is unmaintained and it depends on a 14-year-old version of http-parser with numerous vulnerabilities.

0 commit comments

Comments
 (0)