From e27bbf6bdd913c8e598ae5538c71df51371be23f Mon Sep 17 00:00:00 2001 From: Artyom Kazak Date: Mon, 18 Mar 2019 12:31:40 +0100 Subject: [PATCH] Print "try adding ... to your extra-deps" as YAML --- src/Stack/Build/ConstructPlan.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stack/Build/ConstructPlan.hs b/src/Stack/Build/ConstructPlan.hs index 503fb5acc2..aa02164e73 100644 --- a/src/Stack/Build/ConstructPlan.hs +++ b/src/Stack/Build/ConstructPlan.hs @@ -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) =