@@ -965,7 +965,6 @@ Library
965965 , parsers >= 0.9 && < 0.13
966966 , pretty < 1.2
967967 , process < 1.3
968− , regex-compat < 1.0
969968 , split < 0.3
970969 , text >=1.2.1.0 && < 1.3
971970 , time >= 1.4 && < 1.6
@@ -981,6 +980,10 @@ Library
981980 , safe
982981 , fsnotify < 2.2
983982 , async < 2.1
983+
984+ -- regex-compat needed for the test/runtest.hs script, which isn't built by cabal
985+ build-depends: regex-compat < 1.0
986+
984987 -- zlib >= 0.6.1 is broken with GHC < 7.10.3
985988 if impl(ghc < 7.10.3)
986989 build-depends: zlib < 0.6.1