From cd6f1ed0b0d113ed56e2bc16e8b0e33a9ff2eca1 Mon Sep 17 00:00:00 2001
From: Ben Gamari <ben@smart-cactus.org>
Date: Thu, 25 Jan 2024 23:37:21 -0500
Subject: [PATCH] Cabal-syntax: Drop dependencies on unix and Win32

Neither of these dependencies appear to be needed.
---
 Cabal-syntax/Cabal-syntax.cabal | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/Cabal-syntax/Cabal-syntax.cabal b/Cabal-syntax/Cabal-syntax.cabal
index ca2909ecf1..d4e1a75f9f 100644
--- a/Cabal-syntax/Cabal-syntax.cabal
+++ b/Cabal-syntax/Cabal-syntax.cabal
@@ -45,11 +45,6 @@ library
     -- See also https://github.com/ekmett/transformers-compat/issues/35
     transformers (>= 0.3      && < 0.4) || (>=0.4.1.0 && <0.7)
 
-  if os(windows)
-    build-depends: Win32 >= 2.3.0.0 && < 2.14
-  else
-    build-depends: unix  >= 2.6.0.0 && < 2.9
-
   ghc-options: -Wall -fno-ignore-asserts -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates
 
   if impl(ghc >= 8.0)
-- 
GitLab