Skip to content

Commit

Permalink
ghc: patch RTS to export allocateWrite again
Browse files Browse the repository at this point in the history
This fixes https://gitlab.haskell.org/ghc/ghc/-/issues/19763 which
caused doctest-based test suites to fail in haskellPackages, causing
failures of central packages.
  • Loading branch information
sternenseemann committed Jun 8, 2021
1 parent c2501d7 commit 37bdfd3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/compilers/ghc/8.10.5.nix
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ stdenv.mkDerivation (rec {
# upstream patch. Don't forget to check backport status of the upstream patch
# when adding new GHC releases in nixpkgs.
./respect-ar-path.patch
# Make RTS export allocateWrite again which is used by doctests and
# haskell-language-server, remove at 8.10.6.
# See also https://gitlab.haskell.org/ghc/ghc/-/issues/19763
(fetchpatch {
url = "https://gitlab.haskell.org/ghc/ghc/-/commit/296f25fa5f0fce033b529547e0658076e26f4cda.patch";
sha256 = "1mm1j83v96iwzravrb0zp67hjsdsqj8fzlqn5ck84lpfh7f04fmd";
})
] ++ lib.optionals stdenv.isDarwin [
# Make Block.h compile with c++ compilers. Remove with the next release
(fetchpatch {
Expand Down

0 comments on commit 37bdfd3

Please sign in to comment.