diff --git a/pkgs/development/libraries/haskell/happstack/happstack-data.nix b/pkgs/development/libraries/haskell/happstack/happstack-data.nix index bdf27495d82..aa540e98bd5 100644 --- a/pkgs/development/libraries/haskell/happstack/happstack-data.nix +++ b/pkgs/development/libraries/haskell/happstack/happstack-data.nix @@ -11,6 +11,9 @@ cabal.mkDerivation (self: { buildDepends = [ binary mtl syb sybWithClass sybWithClassInstancesText text time ]; + patchPhase = '' + sed -i -e 's|mtl >= 1.1 && < 2.1|mtl|' happstack-data.cabal + ''; meta = { homepage = "http://happstack.com"; description = "Happstack data manipulation libraries";