aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhaddock-test/Setup.lhs3
-rw-r--r--haddock-test/haddock-test.cabal2
-rw-r--r--haddock.cabal8
3 files changed, 8 insertions, 5 deletions
diff --git a/haddock-test/Setup.lhs b/haddock-test/Setup.lhs
new file mode 100755
index 00000000..5bde0de9
--- /dev/null
+++ b/haddock-test/Setup.lhs
@@ -0,0 +1,3 @@
+#!/usr/bin/env runhaskell
+> import Distribution.Simple
+> main = defaultMain
diff --git a/haddock-test/haddock-test.cabal b/haddock-test/haddock-test.cabal
index 2b75ea81..7cb15d7d 100644
--- a/haddock-test/haddock-test.cabal
+++ b/haddock-test/haddock-test.cabal
@@ -16,7 +16,7 @@ library
default-language: Haskell2010
ghc-options: -Wall
hs-source-dirs: src
- build-depends: base, bytestring, directory, process, filepath, Cabal, xml, xhtml, syb
+ build-depends: base >= 4.3 && < 4.10, bytestring, directory, process, filepath, Cabal, xml, xhtml, syb
exposed-modules:
Test.Haddock
diff --git a/haddock.cabal b/haddock.cabal
index 92729970..49745a10 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -133,14 +133,14 @@ test-suite html-test
default-language: Haskell2010
main-is: Main.hs
hs-source-dirs: html-test
- build-depends: base, filepath, haddock-test
+ build-depends: base, filepath, haddock-test == 0.0.1
test-suite hypsrc-test
type: exitcode-stdio-1.0
default-language: Haskell2010
main-is: Main.hs
hs-source-dirs: hypsrc-test
- build-depends: base, filepath, haddock-test
+ build-depends: base, filepath, haddock-test == 0.0.1
ghc-options: -Wall -fwarn-tabs
test-suite latex-test
@@ -148,14 +148,14 @@ test-suite latex-test
default-language: Haskell2010
main-is: Main.hs
hs-source-dirs: latex-test
- build-depends: base, filepath, haddock-test
+ build-depends: base, filepath, haddock-test == 0.0.1
test-suite hoogle-test
type: exitcode-stdio-1.0
default-language: Haskell2010
main-is: Main.hs
hs-source-dirs: hoogle-test
- build-depends: base, filepath, haddock-test
+ build-depends: base, filepath, haddock-test == 0.0.1
source-repository head
type: git