From b568d074ba12fe5f701cf92a1154fe4e4aae9d32 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Sun, 15 Nov 2020 03:37:32 +0100 Subject: [PATCH] haskell.packages.{ghc865,ghc884}.exceptions: Create attribute --- pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix | 3 +++ pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix | 2 ++ 2 files changed, 5 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix index 0a64c20ea7a..2a0a7810f72 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix @@ -91,4 +91,7 @@ self: super: { # ghc versions prior to 8.8.x needs additional dependency to compile successfully. ghc-lib-parser-ex = addBuildDepend super.ghc-lib-parser-ex self.ghc-lib-parser; + + # This became a core library in ghc 8.10., so we don‘t have an "exception" attribute anymore. + exceptions = super.exceptions_0_10_4; } 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 718186c9f38..e83b25659f2 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix @@ -122,4 +122,6 @@ self: super: { liquid-vector = markBroken super.liquid-vector; liquidhaskell = markBroken super.liquidhaskell; + # This became a core library in ghc 8.10., so we don‘t have an "exception" attribute anymore. + exceptions = super.exceptions_0_10_4; }