From 6fd34a0466de5bc728c6809a481a5d69da2001f8 Mon Sep 17 00:00:00 2001
From: Mikolaj Konarski <mikolaj.konarski@gmail.com>
Date: Wed, 25 May 2022 13:31:06 +0200
Subject: [PATCH] Move 'cabal-version' to the start of the file, now required

---
 cabal-benchmarks/cabal-benchmarks.cabal   | 2 +-
 solver-benchmarks/solver-benchmarks.cabal | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cabal-benchmarks/cabal-benchmarks.cabal b/cabal-benchmarks/cabal-benchmarks.cabal
index 550af4c877..86d2a2e145 100644
--- a/cabal-benchmarks/cabal-benchmarks.cabal
+++ b/cabal-benchmarks/cabal-benchmarks.cabal
@@ -1,3 +1,4 @@
+cabal-version:      2.2
 name:               cabal-benchmarks
 version:            3
 copyright:          2003-2022, Cabal Development Team (see AUTHORS file)
@@ -12,7 +13,6 @@ description:
   This package contains benchmarks that test cabal's dependency solver by running the cabal executable.
 
 category:           Distribution
-cabal-version:      2.2
 build-type:         Simple
 extra-source-files: README.md
 
diff --git a/solver-benchmarks/solver-benchmarks.cabal b/solver-benchmarks/solver-benchmarks.cabal
index 899a5bb97b..c1a3d6b224 100644
--- a/solver-benchmarks/solver-benchmarks.cabal
+++ b/solver-benchmarks/solver-benchmarks.cabal
@@ -1,3 +1,4 @@
+cabal-version:  2.2
 name:          solver-benchmarks
 version:       3
 copyright:     2003-2022, Cabal Development Team (see AUTHORS file)
@@ -11,7 +12,6 @@ synopsis:      Benchmarks for the cabal dependency solver
 description:
   This package contains benchmarks that test cabal's dependency solver by running the cabal executable.
 category:       Distribution
-cabal-version:  2.2
 build-type:     Simple
 
 extra-source-files:
-- 
GitLab