From 2754e8704365d33c107090d0f07858cf6a3e3447 Mon Sep 17 00:00:00 2001 From: Michael Sloan Date: Sun, 23 Oct 2016 16:49:43 -0700 Subject: [PATCH] Fix stack build with 7.8 --- src/Stack/Build/ConstructPlan.hs | 1 + src/Stack/Dot.hs | 1 + src/Stack/Init.hs | 1 + src/Stack/Setup.hs | 1 + src/Stack/SetupCmd.hs | 1 + src/Stack/Solver.hs | 1 + src/Stack/Upgrade.hs | 1 + 7 files changed, 7 insertions(+) diff --git a/src/Stack/Build/ConstructPlan.hs b/src/Stack/Build/ConstructPlan.hs index 05c6c266f2..ab1c71a85e 100644 --- a/src/Stack/Build/ConstructPlan.hs +++ b/src/Stack/Build/ConstructPlan.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE FlexibleContexts #-} diff --git a/src/Stack/Dot.hs b/src/Stack/Dot.hs index e4dd155538..fd07d06829 100644 --- a/src/Stack/Dot.hs +++ b/src/Stack/Dot.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE TupleSections #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE OverloadedStrings #-} diff --git a/src/Stack/Init.hs b/src/Stack/Init.hs index b323a81cb3..3b84ebe316 100644 --- a/src/Stack/Init.hs +++ b/src/Stack/Init.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} diff --git a/src/Stack/Setup.hs b/src/Stack/Setup.hs index 644fccaffe..f60f76aa0d 100644 --- a/src/Stack/Setup.hs +++ b/src/Stack/Setup.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE DeriveDataTypeable #-} -- ghc < 7.10 {-# LANGUAGE DeriveFunctor #-} {-# LANGUAGE FlexibleContexts #-} diff --git a/src/Stack/SetupCmd.hs b/src/Stack/SetupCmd.hs index b3694fae55..6a0560e96b 100644 --- a/src/Stack/SetupCmd.hs +++ b/src/Stack/SetupCmd.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} diff --git a/src/Stack/Solver.hs b/src/Stack/Solver.hs index 9d429f9f18..8beb6eb423 100644 --- a/src/Stack/Solver.hs +++ b/src/Stack/Solver.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} diff --git a/src/Stack/Upgrade.hs b/src/Stack/Upgrade.hs index ec35ae4cc2..dfafeb15ca 100644 --- a/src/Stack/Upgrade.hs +++ b/src/Stack/Upgrade.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-}