Skip to content

Commit 6768493

Browse files
committed
Fix #6558 Spring clean wiredInPackages
1 parent 4945928 commit 6768493

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

src/Stack/Constants.hs

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -254,34 +254,30 @@ wiredInPackages = case mparsed of
254254
Nothing -> impureThrow WiredInPackagesNotParsedBug
255255
where
256256
mparsed = mapM parsePackageName
257-
[ "ghc-prim"
257+
[ "rts"
258+
-- Said to be not a \'real\' package
259+
, "ghc-prim"
260+
-- A magic package
261+
, "ghc-bignum"
258262
-- A magic package
259263
, "integer-gmp"
260-
-- No longer magic > 1.0.3.0. With GHC 9.6.4 at least, there seems to be
261-
-- no problem in using it.
264+
-- No longer magic > 1.0.3.0 (GHC >= 9.0) and deprecated in favour of
265+
-- ghc-bignum. With GHC 9.6.4 at least, there seems to be no problem in
266+
-- using it.
262267
, "integer-simple"
263268
-- A magic package
264269
, "base"
265270
-- A magic package
266-
, "rts"
267-
-- Said to be not a \'real\' package
268271
, "template-haskell"
269272
-- A magic package
270-
, "dph-seq"
271-
-- Deprecated in favour of dph-prim-seq, which does not appear to be
272-
-- magic. With GHC 9.6.4 at least, there seems to be no problem in using
273-
-- it.
274-
, "dph-par"
275-
-- Deprecated in favour of dph-prim-par, which does not appear to be
276-
-- magic. With GHC 9.6.4 at least, there seems to be no problem in using
277-
-- it.
278273
, "ghc"
279274
-- A magic package
280275
, "interactive"
281-
-- Could not identify information about this package name. With GHC 9.6.4
282-
-- at least, there seems to be no problem in using it.
283-
, "ghc-bignum"
284-
-- A magic package
276+
-- Type and class declarations at the GHCi command prompt are treated as
277+
-- if they were defined in modules all sharing a common package
278+
-- interactive. See 'Note [The interactive package]' at
279+
-- https://gitlab.haskell.org/ghc/ghc/-/blob/master/compiler/GHC/Runtime/Context.hs
280+
-- With GHC 9.6.4 at least, there seems to be no problem in using it.
285281
]
286282

287283
-- | Just to avoid repetition and magic strings.

0 commit comments

Comments
 (0)