Skip to content

Commit

Permalink
Merge pull request #4633 from commercialhaskell/print-extra-deps-yaml
Browse files Browse the repository at this point in the history
Print "try adding ... to your extra-deps" as YAML
  • Loading branch information
snoyberg authored Mar 19, 2019
2 parents bdd7004 + 84aef81 commit bc2f15a
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 @@ -1046,7 +1046,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 bc2f15a

Please sign in to comment.