summaryrefslogtreecommitdiff
path: root/libraries/template-haskell/template-haskell.cabal
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2014-04-24 09:05:45 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2014-04-25 19:10:55 +0200
commit07388af843ad61757207a54d75ab336606beed4f (patch)
tree2546223341397a70e66941bb0631c92f25deba67 /libraries/template-haskell/template-haskell.cabal
parent4ceb5dec42ff8d17e24ed80d0265eb8fb60dd804 (diff)
downloadhaskell-07388af843ad61757207a54d75ab336606beed4f.tar.gz
Drop `template-haskell`'s build-dep on `containers`
This is an attempt to address https://github.com/haskell/cabal/issues/1811 by replicating the less than 100 lines of code actually used from the containers package into an internal non-exposed `template-haskell` module. Moreover, `template-haskell` does not expose the `Map` type, so this change should have no visible effect on the public API. It may turn out that `Data.Map` is not necessary and that even a simple list-based associative list (`Prelude.lookup`) may suffice. However, in order to avoid any regressions, this commit takes the safe route and just clones `Data.Map` for now. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'libraries/template-haskell/template-haskell.cabal')
-rw-r--r--libraries/template-haskell/template-haskell.cabal4
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/template-haskell/template-haskell.cabal b/libraries/template-haskell/template-haskell.cabal
index ca0e344f85..fb8dbd7ab0 100644
--- a/libraries/template-haskell/template-haskell.cabal
+++ b/libraries/template-haskell/template-haskell.cabal
@@ -42,9 +42,11 @@ Library
Language.Haskell.TH.Quote
Language.Haskell.TH.Syntax
+ other-modules:
+ Language.Haskell.TH.Lib.Map
+
build-depends:
base == 4.7.*,
- containers == 0.5.*,
pretty == 1.1.*
-- We need to set the package name to template-haskell (without a