Pin Wheezy version of haskell-src-exts to 1.16.0.1

Later versions require happy >= 1.19 which is newer than the
system version of this tool on Wheezy (1.18.9-1).

Pin lens at 4.1.2.1 to fix error

  Duplicate instance declarations:
  instance Traversable (Const m)
  -- Defined at src/Control/Lens/Internal/Instances.hs:53:10
  instance Traversable (Const m)
  -- Defined in `base-orphans-0.5.0:Data.Orphans'

This introduces a transitive dependency on unordered-containers >=
0.2.3 that isn't correctly specified in lens, so pull in 0.2.5.1.

Signed-off-by: Brian Foley <[email protected]>
---
 devel/build_chroot | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/devel/build_chroot b/devel/build_chroot
index 0eb7b54..b31e86b 100755
--- a/devel/build_chroot
+++ b/devel/build_chroot
@@ -375,9 +375,11 @@ case ${DIST_RELEASE}${VARIANT} in
      in_chroot -- \
        cabal install --global \
         'base64-bytestring>=1' \
-        lens-3.10.2 \
+        lens-4.1.2.1 \
+        unordered-containers-0.2.5.1 \
         'lifted-base>=0.1.2' \
-        'hlint>=1.9.12'
+        'hlint>=1.9.12' \
+        'haskell-src-exts-1.16.0.1'
 ;;
 
   jessie)
-- 
2.7.0.rc3.207.g0ac5344

Reply via email to