File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
cabal-install/src/Distribution/Client Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -491,7 +491,7 @@ configureCompiler
491491 let extraPath = fromNubList packageConfigProgramPathExtra
492492 progdb <- liftIO $ prependProgramSearchPath verbosity extraPath [] defaultProgramDb
493493 let progdb' = userSpecifyPaths (Map. toList (getMapLast packageConfigProgramPaths)) progdb
494- (comp, plat , progdb'') <-
494+ result @ (_, _ , progdb'') <-
495495 liftIO $
496496 Cabal. configCompilerEx
497497 hcFlavor
@@ -508,12 +508,7 @@ configureCompiler
508508 -- programs it cares about, and those are the ones we monitor here.
509509 monitorFiles (programsMonitorFiles progdb'')
510510
511- -- Configure the unconfigured programs in the program database,
512- -- as we can't serialise unconfigured programs.
513- -- See also #2241 and #9840.
514- finalProgDb <- liftIO $ configureAllKnownPrograms verbosity progdb''
515-
516- return (comp, plat, finalProgDb)
511+ return result
517512 where
518513 hcFlavor = flagToMaybe projectConfigHcFlavor
519514 hcPath = flagToMaybe projectConfigHcPath
Original file line number Diff line number Diff line change 11# cabal v2-build
22Warning: cannot determine version of <ROOT>/pkg-config :
33""
4- Configuration is affected by the following files:
5- - cabal.project
64Resolving dependencies...
75Error: [Cabal-7107]
86Could not resolve dependencies:
You can’t perform that action at this time.
0 commit comments