summaryrefslogtreecommitdiff
path: root/hadrian/src/Settings/Default.hs
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian/src/Settings/Default.hs')
-rw-r--r--hadrian/src/Settings/Default.hs9
1 files changed, 4 insertions, 5 deletions
diff --git a/hadrian/src/Settings/Default.hs b/hadrian/src/Settings/Default.hs
index b0e269ce1b..2cadc4fc79 100644
--- a/hadrian/src/Settings/Default.hs
+++ b/hadrian/src/Settings/Default.hs
@@ -108,7 +108,9 @@ stage1Packages = do
, stm
, time
, unlit
- , xhtml ]
+ , xhtml
+ , ghcTags ]
+ ++ [ haddock | not cross ]
++ [ hpcBin | not cross ]
++ [ iserv | not win, not cross ]
++ [ libiserv | not win, not cross ]
@@ -119,10 +121,7 @@ stage1Packages = do
-- | Packages built in 'Stage2' by default. You can change this in "UserSettings".
stage2Packages :: Action [Package]
-stage2Packages = do
- cross <- flag CrossCompiling
- return $ [ ghcTags ]
- ++ [ haddock | not cross ]
+stage2Packages = stage1Packages
-- | Packages that are built only for the testsuite.
testsuitePackages :: Action [Package]