From a9581e3672f74dae665372ae523a2e3cd450d503 Mon Sep 17 00:00:00 2001
From: Andreas Abel <andreas.abel@ifi.lmu.de>
Date: Thu, 29 Dec 2022 22:14:06 +0100
Subject: [PATCH] Cabal-syntax.cabal: Remove redundant ghc>=8.0 conditional to
 conform to Hackage version

---
 Cabal-syntax/Cabal-syntax.cabal | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/Cabal-syntax/Cabal-syntax.cabal b/Cabal-syntax/Cabal-syntax.cabal
index 51225ae4bc..127021e2b1 100644
--- a/Cabal-syntax/Cabal-syntax.cabal
+++ b/Cabal-syntax/Cabal-syntax.cabal
@@ -52,11 +52,9 @@ library
     build-depends: unix  >= 2.6.0.0 && < 2.8
 
   ghc-options: -Wall -fno-ignore-asserts -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates
+  ghc-options: -Wcompat -Wnoncanonical-monad-instances
 
-  if impl(ghc >= 8.0)
-    ghc-options: -Wcompat -Wnoncanonical-monad-instances
-
-  if impl(ghc >= 8.0) && impl(ghc < 8.8)
+  if impl(ghc < 8.8)
     ghc-options: -Wnoncanonical-monadfail-instances
 
   exposed-modules:
-- 
GitLab