Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
6a9ef738
Commit
6a9ef738
authored
Dec 17, 2013
by
Mikhail Glushenkov
Browse files
Fix failed assertion in 'InstallPlan.processing'.
Triggered by 'linearizeInstallPlan'. Fixes #1619.
parent
06772e35
Changes
2
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/Install.hs
View file @
6a9ef738
...
...
@@ -505,7 +505,8 @@ linearizeInstallPlan installedPkgIndex plan =
status
=
packageStatus
installedPkgIndex
pkg
plan''
=
InstallPlan
.
completed
pkgid
(
BuildOk
DocsNotTried
TestsNotTried
(
Just
Installed
.
emptyInstalledPackageInfo
))
(
Just
$
Installed
.
emptyInstalledPackageInfo
{
Installed
.
sourcePackageId
=
pkgid
}))
(
InstallPlan
.
processing
[
pkg
]
plan'
)
--FIXME: This is a bit of a hack,
-- pretending that each package is installed
...
...
cabal-install/Distribution/Client/InstallPlan.hs
View file @
6a9ef738
...
...
@@ -349,7 +349,7 @@ showPlanProblem (PackageInvalid pkg packageProblems) =
showPlanProblem
(
PackageMissingDeps
pkg
missingDeps
)
=
"Package "
++
display
(
packageId
pkg
)
++
" depends on the following packages which are missing from the plan "
++
" depends on the following packages which are missing from the plan
:
"
++
intercalate
", "
(
map
display
missingDeps
)
showPlanProblem
(
PackageCycle
cycleGroup
)
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment