From 302202ccdeae887e776aa7d920eca5c9d34aa5ff Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Fri, 22 Dec 2017 09:11:41 -0500 Subject: haskellPackages.monad-memo: Fix testsuite --- pkgs/development/haskell-modules/configuration-common.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'pkgs') 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; } -- cgit 1.4.1