File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed 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