Skip to content

Commit 40f56dd

Browse files
committed
Fix missing Compiler import
1 parent afa274f commit 40f56dd

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

cabal-install/src/Distribution/Client/Configure.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ configure
205205
(const (return configFlags))
206206
(const extraArgs)
207207
Right installPlan0 ->
208-
let installPlan = InstallPlan.configureInstallPlan comp configFlags installPlan0
208+
let installPlan = InstallPlan.configureInstallPlan configFlags comp installPlan0
209209
in case fst (InstallPlan.ready installPlan) of
210210
[ pkg@( ReadyPackage
211211
( ConfiguredPackage

cabal-install/src/Distribution/Client/Install.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ processInstallPlan
552552
installPlan
553553
postInstallActions verbosity args userTargets installPlan buildOutcomes
554554
where
555-
installPlan = InstallPlan.configureInstallPlan comp configFlags installPlan0
555+
installPlan = InstallPlan.configureInstallPlan configFlags comp installPlan0
556556
dryRun = fromFlag (installDryRun installFlags)
557557
nothingToInstall = null (fst (InstallPlan.ready installPlan))
558558

cabal-install/src/Distribution/Client/InstallPlan.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ import Distribution.Package
9393
, UnitId
9494
)
9595
import Distribution.Pretty (defaultStyle)
96+
import Distribution.Simple.Compiler ( Compiler (compilerId) )
9697
import Distribution.Solver.Types.SolverPackage
9798
import Text.PrettyPrint
9899

0 commit comments

Comments
 (0)