From f62ef84f3d5a3047e690b5af16e55d773dfd05bb Mon Sep 17 00:00:00 2001
From: Peter Simons <simons@cryp.to>
Date: Wed, 23 Aug 2017 16:06:40 +0200
Subject: [PATCH] haskell-semigroupoids: fix build with ghc-7.10.x and before

---
 pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix | 1 +
 pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix  | 1 +
 pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix  | 1 +
 3 files changed, 3 insertions(+)

diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
index 9e3f16a47a3..18040e9fb3c 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
@@ -208,5 +208,6 @@ self: super: {
 
   # The test suite requires Cabal 1.24.x or later to compile.
   comonad = dontCheck super.comonad;
+  semigroupoids = dontCheck super.semigroupoids;
 
 }
diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
index a98800e5ca5..61d7e53be22 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix
@@ -116,5 +116,6 @@ self: super: {
 
   # The test suite requires Cabal 1.24.x or later to compile.
   comonad = dontCheck super.comonad;
+  semigroupoids = dontCheck super.semigroupoids;
 
 }
diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix
index 0247a5ad1be..3914e3d9b93 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix
@@ -160,5 +160,6 @@ self: super: {
 
   # The test suite requires Cabal 1.24.x or later to compile.
   comonad = dontCheck super.comonad;
+  semigroupoids = dontCheck super.semigroupoids;
 
 }