about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index f805427036a6..56e4ecccceee 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -170,6 +170,10 @@ self: super: {
   hoodle-core = dontHaddock super.hoodle-core;
   hsc3-db = dontHaddock super.hsc3-db;
 
+  # Fix build with time >= 1.10 while retaining compat with time < 1.9
+  mbox = appendPatch ./patches/mbox-time-1.10.patch
+    (overrideCabal { editedCabalFile = null; revision = null; } super.mbox);
+
   # Too strict bounds on base, optparse-applicative: https://github.com/edsko/friendly/issues/5
   friendly = doJailbreak super.friendly;