about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2016-05-28 13:37:35 +0200
committerPeter Simons <simons@cryp.to>2016-05-31 22:09:56 +0200
commit7e7c4ff779da96a2cf138f639a521d9c56794889 (patch)
tree11f9ad819ec4ef097b9390c0301fb38927b2676f
parent0331c3ee8d09f07f36b48a2bd6a53680a1065953 (diff)
downloadnixlib-7e7c4ff779da96a2cf138f639a521d9c56794889.tar
nixlib-7e7c4ff779da96a2cf138f639a521d9c56794889.tar.gz
nixlib-7e7c4ff779da96a2cf138f639a521d9c56794889.tar.bz2
nixlib-7e7c4ff779da96a2cf138f639a521d9c56794889.tar.lz
nixlib-7e7c4ff779da96a2cf138f639a521d9c56794889.tar.xz
nixlib-7e7c4ff779da96a2cf138f639a521d9c56794889.tar.zst
nixlib-7e7c4ff779da96a2cf138f639a521d9c56794889.zip
Fix LTS Haskell builds of case-insensitive and semigroups.
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix4
1 files changed, 4 insertions, 0 deletions
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 9b3f9d09083b..d47d8ca79c7e 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
@@ -197,4 +197,8 @@ self: super: {
   # https://github.com/well-typed/hackage-security/issues/158
   hackage-security = dontHaddock (dontCheck super.hackage-security);
 
+  # GHC versions prior to 8.x require additional build inputs.
+  case-insensitive = addBuildDepend super.case-insensitive self.semigroups;
+  semigroups = addBuildDepends super.semigroups (with self; [hashable tagged text unordered-containers]);
+
 }