From 8d88b01d75c8f0f2f5915d85ca33c23f20a47027 Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Mon, 15 Aug 2022 15:42:40 +0100 Subject: 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 --- hadrian/src/Settings/Default.hs | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.1