From f49a5fa6834cf477d64d9ad01bb54d9dbbc02d13 Mon Sep 17 00:00:00 2001
From: ffaf1 <fa-ml@ariis.it>
Date: Wed, 2 Apr 2025 20:22:23 +0200
Subject: [PATCH] Backport #10895: Preflight checks (#10899)

Move doc files to `extra-doc-files`
Bump open-browser
Remove trailing zeroes from dependency
---
 Cabal-hooks/Cabal-hooks.cabal     | 2 +-
 cabal-install/cabal-install.cabal | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Cabal-hooks/Cabal-hooks.cabal b/Cabal-hooks/Cabal-hooks.cabal
index f3a7e2c024..de228d89e9 100644
--- a/Cabal-hooks/Cabal-hooks.cabal
+++ b/Cabal-hooks/Cabal-hooks.cabal
@@ -14,7 +14,7 @@ description:
 category:       Distribution
 build-type:     Simple
 
-extra-source-files:
+extra-doc-files:
   README.md CHANGELOG.md
 
 source-repository head
diff --git a/cabal-install/cabal-install.cabal b/cabal-install/cabal-install.cabal
index 8a24c3d780..52f1f865a8 100644
--- a/cabal-install/cabal-install.cabal
+++ b/cabal-install/cabal-install.cabal
@@ -221,7 +221,7 @@ library
     build-depends:
         async      >= 2.0      && < 2.3,
         array      >= 0.4      && < 0.6,
-        base16-bytestring >= 0.1.1 && < 1.1.0.0,
+        base16-bytestring >= 0.1.1 && < 1.1,
         binary     >= 0.7.3    && < 0.9,
         bytestring >= 0.10.6.0 && < 0.13,
         containers >= 0.5.6.2  && < 0.8,
@@ -244,7 +244,7 @@ library
         hackage-security >= 0.6.2.0 && < 0.7,
         text       >= 1.2.3    && < 1.3 || >= 2.0 && < 2.2,
         parsec     >= 3.1.13.0 && < 3.2,
-        open-browser >= 0.2.1.0 && < 0.3,
+        open-browser >= 0.2.1.0 && < 0.4,
         regex-base  >= 0.94.0.0 && <0.95,
         regex-posix >= 0.96.0.0 && <0.97,
         safe-exceptions >= 0.1.7.0 && < 0.2,
-- 
GitLab