diff --git a/pkgs/development/libraries/haskell/happstack/happstack-util.nix b/pkgs/development/libraries/haskell/happstack/happstack-util.nix index f63d253864c6..b457ec6dc322 100644 --- a/pkgs/development/libraries/haskell/happstack/happstack-util.nix +++ b/pkgs/development/libraries/haskell/happstack/happstack-util.nix @@ -12,6 +12,9 @@ cabal.mkDerivation (self: { extensibleExceptions filepath hslogger mtl network parsec random time unixCompat ]; + patchPhase = '' + sed -i -e 's|mtl >= 1.1 && < 2.1|mtl|' happstack-util.cabal + ''; meta = { homepage = "http://happstack.com"; description = "Web framework";