diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-08-15 15:42:40 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-08-21 16:52:13 -0400 |
commit | fb7c2d99f7df880b00b0d31ee7436c6d8eb3ba15 (patch) | |
tree | ba1453e315d0b04b4a4be0405f963222ecfdcea7 /hadrian | |
parent | 9939e95fb7b808b68aca00dfabbb99079927f482 (diff) | |
download | haskell-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
Diffstat (limited to 'hadrian')
-rw-r--r-- | hadrian/src/Settings/Default.hs | 1 |
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 |