about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/development/tools/haskell/hadrian/hadrian.nix2
-rw-r--r--pkgs/top-level/haskell-packages.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/haskell/hadrian/hadrian.nix b/pkgs/development/tools/haskell/hadrian/hadrian.nix
index 2fda57ac1aeb..7a44e2eeffc2 100644
--- a/pkgs/development/tools/haskell/hadrian/hadrian.nix
+++ b/pkgs/development/tools/haskell/hadrian/hadrian.nix
@@ -23,7 +23,7 @@ mkDerivation {
   '';
   patches = lib.optionals (!enableHyperlinkedSource) [
     ./disable-hyperlinked-source.patch
-  ] ++ lib.optionals (ghcVersion == "9.8.1") [
+  ] ++ lib.optionals (lib.elem ghcVersion [ "9.8.1" "9.8.2" ]) [
     # Incorrect bounds on Cabal
     # https://gitlab.haskell.org/ghc/ghc/-/issues/24100
     ./hadrian-9.8.1-allow-Cabal-3.10.patch
diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix
index 09fba3269575..9b6784240bfa 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -317,7 +317,7 @@ in {
         else if stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isLittleEndian then
           packages.ghc963
         else
-          packages.ghc948;
+          packages.ghc963Binary;
       inherit (buildPackages.python3Packages) sphinx;
       # Need to use apple's patched xattr until
       # https://github.com/xattr/xattr/issues/44 and