From e897471eee6efcabea6195ddf39765e386144caf Mon Sep 17 00:00:00 2001 From: maralorn Date: Sat, 24 Dec 2022 18:28:23 +0100 Subject: [PATCH] ghc-api-compat: unmarkBroken on older ghcs --- pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix | 2 +- pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix index 470c79b643d9..c11070d21faf 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix @@ -67,7 +67,7 @@ self: super: { base-compat-batteries = addBuildDepend self.OneTuple super.base-compat-batteries; # Pick right versions for GHC-specific packages - ghc-api-compat = doDistribute self.ghc-api-compat_8_10_7; + ghc-api-compat = doDistribute (unmarkBroken self.ghc-api-compat_8_10_7); # ghc versions which don‘t match the ghc-lib-parser-ex version need the # additional dependency to compile successfully. diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix index 90df495523fa..0c75456735b7 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix @@ -133,7 +133,7 @@ self: super: { # vector 0.12.2 indroduced doctest checks that don‘t work on older compilers vector = dontCheck super.vector; - ghc-api-compat = doDistribute super.ghc-api-compat_8_6; + ghc-api-compat = doDistribute (unmarkBroken super.ghc-api-compat_8_6); mime-string = disableOptimization super.mime-string;