File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
cabal-install/src/Distribution/Client Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -92,18 +92,7 @@ import Distribution.Simple.PreProcess
92
92
, runSimplePreProcessor
93
93
)
94
94
import Distribution.Simple.Program
95
- ( ProgramDb
96
- , emptyProgramDb
97
- , getDbProgramOutputCwd
98
- , getProgramSearchPath
99
- , ghcProgram
100
- , ghcjsProgram
101
- , runDbProgramCwd
102
- )
103
95
import Distribution.Simple.Program.Db
104
- ( prependProgramSearchPath , updatePathProgDb
105
- , progOverrideEnv
106
- )
107
96
import Distribution.Simple.Program.Find
108
97
( programSearchPathAsPATHVar
109
98
)
@@ -658,7 +647,9 @@ setupWrapper verbosity options mpkg cmd getCommonFlags getFlags getExtraArgs wra
658
647
InLibraryArgs libArgs ->
659
648
case libArgs of
660
649
InLibraryConfigureArgs elabSharedConfig elabReadyPkg -> do
661
- let setupProgDb = useProgramDb options
650
+ let setupProgDb = userSpecifyPaths (configProgramPaths flags)
651
+ $ userSpecifyArgss (configProgramArgs flags)
652
+ $ useProgramDb options
662
653
progDb' <-
663
654
prependProgramSearchPath verbosity (useExtraPathEnv options) (useExtraEnvOverrides options) setupProgDb
664
655
lbi0 <-
You can’t perform that action at this time.
0 commit comments