aboutsummaryrefslogtreecommitdiff
path: root/haddock-test/src/Test
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-12-12 08:34:57 -0800
committerAlec Theriault <alec.theriault@gmail.com>2018-12-12 08:42:09 -0800
commitd66a17f3d7552ccd82b5b4b491013f9ac9498966 (patch)
tree76a65bf920e126674b82fde59da94f6a52f43355 /haddock-test/src/Test
parent6414b46e1ac8b63cad20d662311788a80e3b29bb (diff)
Fix warnings, accept output
* remove redundant imports (only brought to light due to recent work for improving redundant import detection) * fix a bug that was casuing exports to appear in reverse order * fix something in haddock-library that prevented compilation on old GHC's
Diffstat (limited to 'haddock-test/src/Test')
-rw-r--r--haddock-test/src/Test/Haddock/Config.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-test/src/Test/Haddock/Config.hs b/haddock-test/src/Test/Haddock/Config.hs
index 6447361f..026b5e41 100644
--- a/haddock-test/src/Test/Haddock/Config.hs
+++ b/haddock-test/src/Test/Haddock/Config.hs
@@ -241,7 +241,7 @@ baseDependencies ghcPath = do
unsetEnv "GHC_PACKAGE_PATH"
(comp, _, cfg) <- configure normal (Just ghcPath) Nothing
- defaultProgramConfiguration
+ defaultProgramDb
#if MIN_VERSION_Cabal(1,23,0)
pkgIndex <- getInstalledPackages normal comp [GlobalPackageDB] cfg
#else