Give bounds for the dependencies; fixes #3141
[haskell-directory.git] / directory.cabal
index 8a52b1c..080bdce 100644 (file)
@@ -30,7 +30,9 @@ Library {
     includes: HsDirectory.h
     install-includes: HsDirectory.h HsDirectoryConfig.h
     extensions: CPP, ForeignFunctionInterface
-    build-depends: base, old-time, filepath
+    build-depends: base >= 4.1 && < 4.2,
+                   old-time >= 1.0 && < 1.1,
+                   filepath >= 1.1 && < 1.2
     if !impl(nhc98) {
       if os(windows) {
           build-depends: Win32