summaryrefslogtreecommitdiff
path: root/compiler/ghc.cabal.in
diff options
context:
space:
mode:
authorPhil Ruffwind <rf@rufflewind.com>2017-03-23 20:59:01 -0400
committerBen Gamari <ben@smart-cactus.org>2017-03-23 22:14:48 -0400
commitadf27d614f8a48d8dcf2d4e2e7872f7b3f818364 (patch)
tree5dae7f8b6ed3caecfceaa220798967291904ed26 /compiler/ghc.cabal.in
parent90d9e977224f3bd71bd5d2cc70e16851541346d2 (diff)
downloadhaskell-adf27d614f8a48d8dcf2d4e2e7872f7b3f818364.tar.gz
Allow colors to be customized
Allow customization of diagnostic colors through the GHC_COLORS environment variable. Some color-related code have been refactored to PprColour to reduce the circular dependence between DynFlags, Outputable, ErrUtils. Some color functions that were part of Outputable but were never used have been deleted. Test Plan: validate Reviewers: austin, hvr, bgamari, dfeuer Reviewed By: bgamari, dfeuer Subscribers: dfeuer, rwbarton, thomie, snowleopard Differential Revision: https://phabricator.haskell.org/D3364
Diffstat (limited to 'compiler/ghc.cabal.in')
-rw-r--r--compiler/ghc.cabal.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index fc8dcd98bf..6054d8579a 100644
--- a/compiler/ghc.cabal.in
+++ b/compiler/ghc.cabal.in
@@ -501,6 +501,7 @@ Library
Outputable
Pair
Panic
+ PprColour
Pretty
State
Stream