[Git][ghc/ghc][master] hadrian: fix ghc-in-ghci flavour stage0 shared libraries
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: 2c57de29 by Cheng Shao at 2026-03-20T12:29:55-04:00 hadrian: fix ghc-in-ghci flavour stage0 shared libraries This patch fixes missing stage0 shared libraries in hadrian ghc-in-ghci flavour, which was accidentally dropped in 669d09f950a6e88b903d9fd8a7571531774d4d5d and resulted in a regression in HLS support on linux/macos. Fixes #27057. - - - - - 1 changed file: - hadrian/src/Settings/Flavours/GhcInGhci.hs Changes: ===================================== hadrian/src/Settings/Flavours/GhcInGhci.hs ===================================== @@ -1,14 +1,22 @@ module Settings.Flavours.GhcInGhci (ghcInGhciFlavour) where +import qualified Data.Set as Set import Expression import Flavour +import Oracles.Flag import {-# SOURCE #-} Settings.Default -- Please update doc/flavours.md when changing this file. ghcInGhciFlavour :: Flavour ghcInGhciFlavour = disableProfiledLibs $ defaultFlavour { name = "ghc-in-ghci" - , extraArgs = ghciArgs + , extraArgs = ghciArgs + , libraryWays = + Set.fromList + <$> mconcat + [ pure [vanilla] + , platformSupportsSharedLibs ? pure [dynamic] + ] } ghciArgs :: Args View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2c57de2947b17c2b4ff11659aa737493... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2c57de2947b17c2b4ff11659aa737493... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)