From aeb87d1a675d3000f9a9caefba73213ab6ff7fa6 Mon Sep 17 00:00:00 2001
From: Ian Lynagh <igloo@earth.li>
Date: Sun, 21 Nov 2010 15:12:16 +0000
Subject: [PATCH] Add version ranges to dependencies; fixes #4513

---
 haskell98.cabal | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/haskell98.cabal b/haskell98.cabal
index 1506a4f..87938f2 100644
--- a/haskell98.cabal
+++ b/haskell98.cabal
@@ -17,9 +17,14 @@ build-type:     Simple
 Cabal-Version: >= 1.6
 
 Library
-    build-depends:	base >= 3 && < 5,
-                    directory, random, old-time, old-locale, process,
-                    array, time
+    build-depends:	base        >= 3   && < 5,
+                    directory   >= 1.1 && < 1.2,
+                    random      >= 1.0 && < 1.1,
+                    old-time    >= 1.0 && < 1.1,
+                    old-locale  >= 1.0 && < 1.1,
+                    process     >= 1.0 && < 1.1,
+                    array       >= 0.3 && < 0.4,
+                    time        >= 1.2 && < 1.3
     exposed-modules:
         -- Haskell 98 (Prelude and Numeric are in the base package)
         Array, CPUTime, Char, Complex, Directory, IO, Ix, List, Locale,
-- 
GitLab