about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Alan Dorman <mdorman@ironicdesign.com>2016-05-29 15:49:17 -0400
committerPeter Simons <simons@cryp.to>2016-05-31 22:09:56 +0200
commitffe733a52deace5193248c780c5c10200a9efec3 (patch)
treeb3b9a929db2d21ba2e15521be733af2621c7174d
parentf226dbff00d5565b21c68bacbf22f0cfab55515d (diff)
downloadnixlib-ffe733a52deace5193248c780c5c10200a9efec3.tar
nixlib-ffe733a52deace5193248c780c5c10200a9efec3.tar.gz
nixlib-ffe733a52deace5193248c780c5c10200a9efec3.tar.bz2
nixlib-ffe733a52deace5193248c780c5c10200a9efec3.tar.lz
nixlib-ffe733a52deace5193248c780c5c10200a9efec3.tar.xz
nixlib-ffe733a52deace5193248c780c5c10200a9efec3.tar.zst
nixlib-ffe733a52deace5193248c780c5c10200a9efec3.zip
cereal: Add dependency for 7.10.x compatibility
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix3
1 files changed, 3 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 1d3bc01977ed..18ed30da237f 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
@@ -184,6 +184,9 @@ self: super: {
   # lens-family-th >= 0.5.0.0 is GHC 8.0 only
   lens-family-th = self.lens-family-th_0_4_1_0;
 
+  # cereal must have `fail` in pre-ghc-8.0.x versions
+  cereal = addBuildDepend super.cereal self.fail;
+
   # The tests in vty-ui do not build, but vty-ui itself builds.
   vty-ui = enableCabalFlag super.vty-ui "no-tests";