Skip to content

Commit

Permalink
Fixups from merge.
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Z. Yang <[email protected]>
  • Loading branch information
ezyang committed Aug 11, 2016
1 parent 91019c2 commit 2640d8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cabal-install/Distribution/Client/ProjectBuilding.hs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ improveInstallPlanWithUpToDatePackages installPlan pkgsBuildStatus =
[ (installedUnitId pkg, mipkg)
| InstallPlan.Configured pkg
<- InstallPlan.reverseTopologicalOrder installPlan
, let uid = installedPackageId pkg
, let uid = installedUnitId pkg
Just pkgBuildStatus = Map.lookup uid pkgsBuildStatus
, BuildStatusUpToDate (BuildResult { buildResultLibInfo = mipkg })
<- [pkgBuildStatus]
Expand Down Expand Up @@ -615,7 +615,7 @@ data BuildResult = BuildResult {
buildResultDocs :: DocsResult,
buildResultTests :: TestsResult,
buildResultLogFile :: Maybe FilePath,
buildResultLibInfo :: [InstalledPackageInfo]
buildResultLibInfo :: Maybe InstalledPackageInfo
}
deriving Show

Expand Down
3 changes: 1 addition & 2 deletions cabal-install/Distribution/Client/ProjectOrchestration.hs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ import Distribution.Client.ProjectPlanning.Types
import Distribution.Client.ProjectBuilding

import Distribution.Client.Types
( InstalledPackageId, installedPackageId
, GenericReadyPackage(..), PackageLocation(..) )
( GenericReadyPackage(..), PackageLocation(..) )
import qualified Distribution.Client.InstallPlan as InstallPlan
import Distribution.Client.BuildTarget
( UserBuildTarget, resolveUserBuildTargets
Expand Down

0 comments on commit 2640d8d

Please sign in to comment.