From e726800ddaedd555372ac5d05cd8d7061dd94656 Mon Sep 17 00:00:00 2001
From: Joey Hess <joeyh@joeyh.name>
Date: Thu, 26 Jan 2023 15:31:29 -0400
Subject: [PATCH] add upper bounds on Cabal version

hackage now rejects packages without this. My bet is any version of
cabal is going to work, I'm using the public API. Annoying.
---
 git-annex.cabal | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git-annex.cabal b/git-annex.cabal
index 89911f8c0f..c7b01592bd 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -300,7 +300,7 @@ custom-setup
     process (>= 1.6.3),
     time (>= 1.5.0),
     directory (>= 1.2.7.0),
-    async, utf8-string, transformers, Cabal
+    async, utf8-string, transformers, Cabal (< 4.0)
 
 Executable git-annex
   Main-Is: git-annex.hs