summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2017-12-22 09:11:41 -0500
committerShea Levy <shea@shealevy.com>2017-12-22 09:11:41 -0500
commit302202ccdeae887e776aa7d920eca5c9d34aa5ff (patch)
treeccf8c7a3c706f78cda2445c4a7bb61737649decd /pkgs
parentbd424fdce942f84ec7cede939601964f127105c9 (diff)
downloadnixlib-302202ccdeae887e776aa7d920eca5c9d34aa5ff.tar
nixlib-302202ccdeae887e776aa7d920eca5c9d34aa5ff.tar.gz
nixlib-302202ccdeae887e776aa7d920eca5c9d34aa5ff.tar.bz2
nixlib-302202ccdeae887e776aa7d920eca5c9d34aa5ff.tar.lz
nixlib-302202ccdeae887e776aa7d920eca5c9d34aa5ff.tar.xz
nixlib-302202ccdeae887e776aa7d920eca5c9d34aa5ff.tar.zst
nixlib-302202ccdeae887e776aa7d920eca5c9d34aa5ff.zip
haskellPackages.monad-memo: Fix testsuite
Diffstat (limited to 'pkgs')
-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 844d8db4189f..e69309d91ce7 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -997,4 +997,12 @@ self: super: {
   # See https://github.com/haskell/haddock/issues/679
   language-puppet = dontHaddock super.language-puppet;
 
+  # Missing FlexibleContexts in testsuite
+  # https://github.com/EduardSergeev/monad-memo/pull/4
+  monad-memo =
+    let patch = pkgs.fetchpatch
+          { url = https://github.com/EduardSergeev/monad-memo/pull/4.patch;
+            sha256 = "14mf9940arilg6v54w9bc4z567rfbmm7gknsklv965fr7jpinxxj";
+          };
+    in appendPatch super.monad-memo patch;
 }