about summary refs log tree commit diff
path: root/pkgs/development/tools/haskell/hadrian/hadrian.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/haskell/hadrian/hadrian.nix')
-rw-r--r--pkgs/development/tools/haskell/hadrian/hadrian.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/haskell/hadrian/hadrian.nix b/pkgs/development/tools/haskell/hadrian/hadrian.nix
index 2fda57ac1aebb..7a44e2eeffc29 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