Skip to content

Commit

Permalink
Print "try adding ... to your extra-deps" as YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
Artyom Kazak authored Mar 18, 2019
1 parent 1a6450c commit e27bbf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stack/Build/ConstructPlan.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ pprintExceptions exceptions stackYaml stackRoot parentMap wanted' prunedGlobalDe
pprintExtra (name, (version, BlobKey cabalHash cabalSize)) =
let cfInfo = CFIHash cabalHash (Just cabalSize)
packageIdRev = PackageIdentifierRevision name version cfInfo
in fromString $ T.unpack $ utf8BuilderToText $ RIO.display packageIdRev
in "- " <+> (fromString $ T.unpack $ utf8BuilderToText $ RIO.display packageIdRev)

allNotInBuildPlan = Set.fromList $ concatMap toNotInBuildPlan exceptions'
toNotInBuildPlan (DependencyPlanFailures _ pDeps) =
Expand Down

0 comments on commit e27bbf6

Please sign in to comment.