summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-08-15 15:42:40 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-08-21 16:52:13 -0400
commitfb7c2d99f7df880b00b0d31ee7436c6d8eb3ba15 (patch)
treeba1453e315d0b04b4a4be0405f963222ecfdcea7
parent9939e95fb7b808b68aca00dfabbb99079927f482 (diff)
downloadhaskell-fb7c2d99f7df880b00b0d31ee7436c6d8eb3ba15.tar.gz
hadrian: Fix bootstrapping with ghc-9.4
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