@@ -44,6 +44,7 @@ library
4444 base >= 4.9 && < 4.13,
4545 bifunctors >= 5.2 && < 5.6,
4646 comonad,
47+ constraints-extras,
4748 containers >= 0.5 && < 0.7,
4849 data-default >= 0.5 && < 0.8,
4950 dependent-map >= 0.2.4 && < 0.3,
@@ -134,7 +135,7 @@ library
134135 if flag(use-template-haskell)
135136 cpp-options: -DUSE_TEMPLATE_HASKELL
136137 build-depends:
137− dependent-sum >= 0.3 && < 0.5,
138+ dependent-sum >= 0.3 && < 0.7,
138139 haskell-src-exts >= 1.16 && < 1.21,
139140 haskell-src-meta >= 0.6 && < 0.9,
140141 template-haskell >= 2.9 && < 2.15
@@ -143,7 +144,7 @@ library
143144 other-extensions: TemplateHaskell
144145 else
145146 build-depends:
146− dependent-sum == 0.4.*
147+ dependent-sum >= 0.4 && < 0.7
147148
148149 if flag(fast-weak) && impl(ghcjs)
149150 cpp-options: -DGHCJS_FAST_WEAK