@@ -42,7 +42,6 @@ library
4242 contravariant >= 1.4 && < 1.5,
4343 data-default >= 0.5 && < 0.8,
4444 dependent-map == 0.2.*,
45− dependent-sum == 0.3.*,
4645 directory == 1.2.*,
4746 exception-transformers == 0.4.*,
4847 ghcjs-dom >= 0.7.0.0 && < 0.8,
@@ -57,7 +56,6 @@ library
5756 reflex == 0.5.*,
5857 semigroups >= 0.16 && < 0.19,
5958 stm == 2.4.*,
60− template-haskell,
6159 text == 1.2.*,
6260 these >= 0.4 && < 0.8,
6361 time >= 1.4 && < 1.7,
@@ -111,9 +109,14 @@ library
111109
112110 if flag(use-template-haskell)
113111 build-depends:
114− dependent-sum-template >= 0.0.0.5 && < 0.1
112+ dependent-sum == 0.3.*,
113+ dependent-sum-template >= 0.0.0.5 && < 0.1,
114+ template-haskell
115115 other-extensions: TemplateHaskell
116116 cpp-options: -DUSE_TEMPLATE_HASKELL
117+ else
118+ build-depends:
119+ dependent-sum == 0.4.*
117120
118121--test-suite hlint
119122-- build-depends: base, hlint == 1.9.*