summary refs log tree commit diff
diff options
context:
space:
mode:
authorSilvan Mosberger <infinisil@icloud.com>2018-09-17 03:50:53 +0200
committerSilvan Mosberger <infinisil@icloud.com>2018-09-17 03:54:03 +0200
commit7e5917a03169ea68aca0b57b48da8ef5fb56fb92 (patch)
treed36de7f3ecc8f642c5ef3c7e99c2c3161015cde4
parentd1b6cb7e6e314f8b11a59544b5276ec8d36c5417 (diff)
downloadnixlib-7e5917a03169ea68aca0b57b48da8ef5fb56fb92.tar
nixlib-7e5917a03169ea68aca0b57b48da8ef5fb56fb92.tar.gz
nixlib-7e5917a03169ea68aca0b57b48da8ef5fb56fb92.tar.bz2
nixlib-7e5917a03169ea68aca0b57b48da8ef5fb56fb92.tar.lz
nixlib-7e5917a03169ea68aca0b57b48da8ef5fb56fb92.tar.xz
nixlib-7e5917a03169ea68aca0b57b48da8ef5fb56fb92.tar.zst
nixlib-7e5917a03169ea68aca0b57b48da8ef5fb56fb92.zip
haskellPackages: Fix ListLike for 8.02 and 8.22
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix4
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix3
2 files changed, 7 insertions, 0 deletions
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;
+
 }