summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-08-15 15:42:40 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2022-08-15 15:42:40 +0100
commit8d88b01d75c8f0f2f5915d85ca33c23f20a47027 (patch)
tree3f057bbceb91371a8a120eeacec63ee8c9b7ea7f
parentdca43a04fb36e0ae0ed61455f215660eed2856a9 (diff)
downloadhaskell-wip/fix-9.4-bootstrap.tar.gz
hadrian: Fix bootstrapping with ghc-9.4wip/fix-9.4-bootstrap
The error was that we were trying to link together containers from boot package library (which depends template-haskell in boot package library) template-haskell from in-tree package database So the fix is to build containers in stage0 (and link against template-haskell built in stage0). Fixes #21981
-rw-r--r--hadrian/src/Settings/Default.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hadrian/src/Settings/Default.hs b/hadrian/src/Settings/Default.hs
index ae9ea2ce81..6aad1648fd 100644
--- a/hadrian/src/Settings/Default.hs
+++ b/hadrian/src/Settings/Default.hs
@@ -77,6 +77,7 @@ stage0Packages = do
, cabalSyntax
, cabal
, compiler
+ , containers
, directory
, process
, exceptions