From 2d02d0d463358f591657d8b9904f4adfe9c69d2f Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Mon, 26 Feb 2024 17:16:15 +0100 Subject: haskell.compiler.ghc982: fix bootstrap with GHC 9.6 Bootsrapping with 9.6 doesn't work with 9.8.2 upstream due to erroneous bounds on Cabal () which was planned to be addressed in 9.8.2, but apparently hasn't been, so we need to extend the range for the workaround patch. --- pkgs/development/tools/haskell/hadrian/hadrian.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/development/tools/haskell') 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 -- cgit 1.4.1