From 7e5917a03169ea68aca0b57b48da8ef5fb56fb92 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Mon, 17 Sep 2018 03:50:53 +0200 Subject: haskellPackages: Fix ListLike for 8.02 and 8.22 --- pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix | 4 ++++ pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix | 3 +++ 2 files changed, 7 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix index eca2d111b542..a28682004239 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix @@ -81,4 +81,8 @@ self: super: { haddock-library = self.haddock-library_1_4_3; haddock-api = self.haddock-api_2_17_4; haddock = self.haddock_2_17_5; + + # GHC 8.0 doesn't have semigroups included by default + ListLike = addBuildDepend super.ListLike self.semigroups; + } diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix index 5d499c803dae..af96a7425d1c 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix @@ -96,4 +96,7 @@ self: super: { haddock-library = dontHaddock (dontCheck self.haddock-library_1_5_0_1); })); + # GHC 8.2 doesn't have semigroups included by default + ListLike = addBuildDepend super.ListLike self.semigroups; + } -- cgit 1.4.1