clearer missing deps error message
This commit is contained in:
parent
b2a182d633
commit
55cfe16f77
2 changed files with 2 additions and 2 deletions
|
@ -460,7 +460,7 @@ While constructing the BuildPlan the following exceptions were encountered:
|
|||
Could not find package acme-missiles in known packages
|
||||
|
||||
-- Failure when adding dependencies:
|
||||
acme-missiles: needed (-any), latest is 0.3, but not present in build plan
|
||||
acme-missiles: needed (-any), stack configuration has no specified version (latest applicable is 0.3)
|
||||
needed for package: helloworld-0.1.0.0
|
||||
|
||||
Recommended action: try adding the following to your extra-deps in /home/michael/helloworld/stack.yaml
|
||||
|
|
|
@ -383,7 +383,7 @@ instance Show ConstructPlanException where
|
|||
Nothing -> ""
|
||||
Just la -> " (latest applicable is " ++ versionString la ++ ")"
|
||||
in case badDep of
|
||||
NotInBuildPlan -> "not present in build plan" ++ latestApplicableStr
|
||||
NotInBuildPlan -> "stack configuration has no specified version" ++ latestApplicableStr
|
||||
Couldn'tResolveItsDependencies -> "couldn't resolve its dependencies"
|
||||
DependencyMismatch version ->
|
||||
case mlatestApplicable of
|
||||
|
|
Loading…
Reference in a new issue