File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,10 @@ Bug fixes:
45
45
* ` stack setup ` will look in sandboxed directories for executables, not
46
46
relying on `findExecutables. See
47
47
[ GHC issue 20074] ( https://gitlab.haskell.org/ghc/ghc/-/issues/20074 )
48
- * Track changes to ` setup-config ` properly to avoid reconfiguring on every
49
- change. See [ #5578 ] ( https://github.com/commercialhaskell/stack/issues/5578 )
48
+ * Track changes to ` setup-config ` properly to avoid reconfiguring on every change.
49
+ See [ #5578 ] ( https://github.com/commercialhaskell/stack/issues/5578 )
50
+ * ` stack ghci ` now uses package flags in ` stack.yaml `
51
+ [ #5434 ] ( https://github.com/commercialhaskell/stack/issues/5434 )
50
52
51
53
52
54
## v2.7.1
Original file line number Diff line number Diff line change @@ -644,11 +644,12 @@ loadGhciPkgDesc buildOptsCLI name cabalfp target = do
644
644
(cpCabalConfigOpts . ppCommon <$> M. lookup name smProject)
645
645
<|>
646
646
(cpCabalConfigOpts . dpCommon <$> M. lookup name smDeps)
647
+ sourceMapFlags = maybe mempty (cpFlags . ppCommon) $ M. lookup name smProject
647
648
config =
648
649
PackageConfig
649
650
{ packageConfigEnableTests = True
650
651
, packageConfigEnableBenchmarks = True
651
- , packageConfigFlags = getLocalFlags buildOptsCLI name
652
+ , packageConfigFlags = getLocalFlags buildOptsCLI name `M.union` sourceMapFlags
652
653
, packageConfigGhcOptions = sourceMapGhcOptions
653
654
, packageConfigCabalConfigOpts = sourceMapCabalConfigOpts
654
655
, packageConfigCompilerVersion = compilerVersion
You can’t perform that action at this time.
0 commit comments