From aa1062e6315d2d5815e00e22da242de8eaa4438c Mon Sep 17 00:00:00 2001
From: Olivier Benz <olivier.benz@b-data.ch>
Date: Thu, 10 Nov 2022 11:26:06 +0100
Subject: [PATCH] Freeze GHC version 9.2.5 (updated)

- Add constraint on Cabal-syntax version
---
 9.2.5.Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/9.2.5.Dockerfile b/9.2.5.Dockerfile
index 79f4f80..4026842 100644
--- a/9.2.5.Dockerfile
+++ b/9.2.5.Dockerfile
@@ -58,7 +58,7 @@ RUN cd /tmp \
   && make binary-dist \
   && cabal update \
   # See https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/libraries/version-history
-  && cabal install --allow-newer cabal-install-$CABAL_VERSION
+  && cabal install --allow-newer --constraint 'Cabal-syntax<3.7' cabal-install-$CABAL_VERSION
 
 FROM alpine:3.16 as builder
 
-- 
GitLab