about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2019-03-25 13:57:12 +0100
committerGitHub <noreply@github.com>2019-03-25 13:57:12 +0100
commit3e113f5f7a5bf2857a6afdf63d592245bfb7397a (patch)
tree23a3c2e4e4269c932dd7149b715e03f7863a7722 /pkgs/development/haskell-modules/configuration-common.nix
parent83cb84ebc3c84a4f3192edee58541bffc592f04c (diff)
parent32ec718b57ac9844be9d1131a6a1c9b63da408fb (diff)
downloadnixlib-3e113f5f7a5bf2857a6afdf63d592245bfb7397a.tar
nixlib-3e113f5f7a5bf2857a6afdf63d592245bfb7397a.tar.gz
nixlib-3e113f5f7a5bf2857a6afdf63d592245bfb7397a.tar.bz2
nixlib-3e113f5f7a5bf2857a6afdf63d592245bfb7397a.tar.lz
nixlib-3e113f5f7a5bf2857a6afdf63d592245bfb7397a.tar.xz
nixlib-3e113f5f7a5bf2857a6afdf63d592245bfb7397a.tar.zst
nixlib-3e113f5f7a5bf2857a6afdf63d592245bfb7397a.zip
Merge pull request #58199 from rnhmjoj/superbuffer
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 245714822ccc..c439d2cca00d 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1218,6 +1218,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;