From f9d2a6bd7f869e99db868914d894e0fb287ee004 Mon Sep 17 00:00:00 2001
From: Adam Vogt <vogt.adam@gmail.com>
Date: Sat, 13 Nov 2010 02:22:04 +0000
Subject: [PATCH] Restrict dependencies, since mtl-2 is incompatible

A couple removed constructors need to be replaced by the lowercase versions
(ex. State = StateT Identity now). But it isn't clear that mtl-1 should be
dropped.
---
 xmonad-contrib.cabal | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xmonad-contrib.cabal b/xmonad-contrib.cabal
index ab636caf..f153c248 100644
--- a/xmonad-contrib.cabal
+++ b/xmonad-contrib.cabal
@@ -56,7 +56,7 @@ library
         extensions: ForeignFunctionInterface
         cpp-options: -DXFT
 
-    build-depends:      mtl, unix, X11>=1.5.0.0 && < 1.6, xmonad>=0.9.1, xmonad<0.10, utf8-string
+    build-depends:      mtl < 2, unix, X11>=1.5.0.0 && < 1.6, xmonad>=0.9.1, xmonad<0.10, utf8-string
 
     if true
         ghc-options:    -fwarn-tabs -Wall