File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,12 @@ Bug fixes:
66
66
associated with the relevant custom snapshot. See
67
67
[ #3714 ] ( https://github.com/commercialhaskell/stack/issues/3714 ) .
68
68
* ` stack ghci ` now allows loading multiple packages with the same
69
- module name, as long as they are the same filepath. See
69
+ module name, as long as they have the same filepath. See
70
70
[ #3776 ] ( https://github.com/commercialhaskell/stack/pull/3776 ) .
71
+ * ` stack ghci ` no longer always adds a dependency on ` base ` . It is
72
+ now only added when there are no local targets. This allows it to
73
+ be to load code that uses replacements for ` base ` . See
74
+ [ #3589 ] ( https://github.com/commercialhaskell/stack/issues/3589#issuecomment )
71
75
72
76
## v1.6.3
73
77
Original file line number Diff line number Diff line change @@ -331,12 +331,13 @@ runGhci GhciOpts{..} targets mainIsTargets pkgs extraFiles exposePackages = do
331
331
fromMaybe (not (null pkgs && null exposePackages)) ghciHidePackages
332
332
hidePkgOpts =
333
333
if shouldHidePackages
334
- then " -hide-all-packages" :
334
+ then
335
+ [" -hide-all-packages" ] ++
335
336
-- This is necessary, because current versions of ghci
336
337
-- will entirely fail to start if base isn't visible. This
337
338
-- is because it tries to use the interpreter to set
338
339
-- buffering options on standard IO.
339
- " -package" : " base" :
340
+ ( if null targets then [ " -package" , " base" ] else [] ) ++
340
341
concatMap (\ n -> [" -package" , packageNameString n]) exposePackages
341
342
else []
342
343
oneWordOpts bio
You can’t perform that action at this time.
0 commit comments