From 2c30507294bb78562ffabc07cceb960ae4b5c6bf Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Thu, 28 Jun 2018 14:54:38 +0200
Subject: [PATCH] travis: try using --enable-per-component.

I'm hoping this fixes the problem with the ghc 7.10 builds.
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 9efdf0747..7752e6eda 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -113,7 +113,7 @@ install:
     cabal)
       cabal --version
       travis_retry cabal update
-      cabal install --disable-optimization --only-dependencies --flags="$FLAGS" --enable-tests --force-reinstalls --reorder-goals --max-backjumps=-1 $CABALARGS
+      cabal install --enable-per-component --disable-optimization --only-dependencies --flags="$FLAGS" --enable-tests --force-reinstalls --reorder-goals --max-backjumps=-1 $CABALARGS
       ;;
   esac