about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2019-03-24 10:54:44 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2019-03-24 12:07:40 +0100
commit32ec718b57ac9844be9d1131a6a1c9b63da408fb (patch)
treeb17af6d796aed4cfa0f45ebe15c872879b3f26fe /pkgs/development/haskell-modules/configuration-common.nix
parent0bf5c6acb4a8e1ee85f30401065f1b4d45b75136 (diff)
downloadnixlib-32ec718b57ac9844be9d1131a6a1c9b63da408fb.tar
nixlib-32ec718b57ac9844be9d1131a6a1c9b63da408fb.tar.gz
nixlib-32ec718b57ac9844be9d1131a6a1c9b63da408fb.tar.bz2
nixlib-32ec718b57ac9844be9d1131a6a1c9b63da408fb.tar.lz
nixlib-32ec718b57ac9844be9d1131a6a1c9b63da408fb.tar.xz
nixlib-32ec718b57ac9844be9d1131a6a1c9b63da408fb.tar.zst
nixlib-32ec718b57ac9844be9d1131a6a1c9b63da408fb.zip
haskellPackages.superbuffer: fix build
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 4bdb11eeed28..bc718a8f5013 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1217,6 +1217,14 @@ self: super: {
     })];
   });
 
+  # Remove unecessary constraint:
+  # https://github.com/agrafix/superbuffer/pull/2
+  superbuffer = overrideCabal super.superbuffer (drv: {
+    postPatch = ''
+      sed -i 's#QuickCheck < 2.10#QuickCheck < 2.13#' superbuffer.cabal
+    '';
+  });
+
   # Use latest pandoc despite what LTS says.
   # Test suite fails in both 2.5 and 2.6: https://github.com/jgm/pandoc/issues/5309.
   pandoc = doDistribute super.pandoc_2_7_1;