summaryrefslogtreecommitdiff
path: root/utils/ghc-cabal/Main.hs
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-01-05 22:10:01 +0100
committerBen Gamari <ben@smart-cactus.org>2016-01-05 22:10:02 +0100
commite32a6e1f4ac847272598776fd15f4a98069690e5 (patch)
tree02d72208b24e5c269d499eb51ce63cfaa1499831 /utils/ghc-cabal/Main.hs
parent77494fa9fa34c1a831caabc194e855167de0c2d9 (diff)
downloadhaskell-e32a6e1f4ac847272598776fd15f4a98069690e5.tar.gz
Add Cabal synopses and descriptions
Various people (myself included) have complained about the lack of useful descriptions for the various packages included in GHC's source tree. Fix this. Test Plan: Validate Reviewers: austin, thomie Reviewed By: thomie Subscribers: angerman, ezyang Differential Revision: https://phabricator.haskell.org/D1736
Diffstat (limited to 'utils/ghc-cabal/Main.hs')
-rw-r--r--utils/ghc-cabal/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ghc-cabal/Main.hs b/utils/ghc-cabal/Main.hs
index 680c573107..2c05da83a7 100644
--- a/utils/ghc-cabal/Main.hs
+++ b/utils/ghc-cabal/Main.hs
@@ -409,7 +409,7 @@ generate directory distdir dll0Modules config_args
variablePrefix ++ "_COMPONENT_ID = " ++ display (localCompatPackageKey lbi),
variablePrefix ++ "_MODULES = " ++ unwords mods,
variablePrefix ++ "_HIDDEN_MODULES = " ++ unwords otherMods,
- variablePrefix ++ "_SYNOPSIS =" ++ synopsis pd,
+ variablePrefix ++ "_SYNOPSIS =" ++ (unwords $ lines $ synopsis pd),
variablePrefix ++ "_HS_SRC_DIRS = " ++ unwords (hsSourceDirs bi),
variablePrefix ++ "_DEPS = " ++ unwords deps,
variablePrefix ++ "_DEP_IPIDS = " ++ unwords dep_ipids,