aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2017-09-26 14:53:49 +0200
committerDaniel Gröber <dxld@darkboxed.org>2017-09-26 15:33:30 +0200
commit6ab7e21362b0708ec3867456581684e78c9ac8ea (patch)
tree89253a4afc473616f942e00f2ec55ad54276ed6d
parent728ba7876e1894d56bbf7eab65a0fe5bf75d3ff8 (diff)
Cleanup Setup.hs dependencies
-rw-r--r--Setup.hs9
-rw-r--r--cabal-helper.cabal10
2 files changed, 3 insertions, 16 deletions
diff --git a/Setup.hs b/Setup.hs
index b50d669..4df4006 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -23,18 +23,9 @@ import Distribution.Simple.LocalBuildInfo
import Distribution.Simple.Program
import Distribution.PackageDescription
-import qualified Data.Map as M
-import Data.Map (Map)
-
-import Control.Arrow
-import Control.Applicative
import Control.Monad
import Data.List
import Data.Maybe
-import Data.Version
-import Data.Monoid
-import System.Process
-import System.Exit
import System.FilePath
import System.Directory (renameFile)
diff --git a/cabal-helper.cabal b/cabal-helper.cabal
index c8c57bd..919d7af 100644
--- a/cabal-helper.cabal
+++ b/cabal-helper.cabal
@@ -41,13 +41,9 @@ source-repository head
custom-setup
setup-depends: base
- , Cabal (>= 1.14 && < 1.25) || (>= 2.0 && < 2.1)
- , containers
- , filepath
- , directory
- , process
- , template-haskell
- , transformers
+ , Cabal < 2.1 && >= 2.0 || < 1.25 && >= 1.14
+ , filepath < 1.5
+ , directory < 1.4
library
default-language: Haskell2010