From 2562b2292795e58637eecb87904c72caeaa78fc7 Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Tue, 23 Aug 2022 17:51:52 -0400 Subject: [PATCH] default-extensions: type operators to compile with 9.4 --- cabal-install/cabal-install.cabal | 1 + cabal-testsuite/cabal-testsuite.cabal | 1 + 2 files changed, 2 insertions(+) diff --git a/cabal-install/cabal-install.cabal b/cabal-install/cabal-install.cabal index 9b5b4653dfa..5a151cfaeca 100644 --- a/cabal-install/cabal-install.cabal +++ b/cabal-install/cabal-install.cabal @@ -60,6 +60,7 @@ common cabal-install-solver-dep library import: warnings, base-dep, cabal-dep, cabal-syntax-dep, cabal-install-solver-dep default-language: Haskell2010 + default-extensions: TypeOperators hs-source-dirs: src exposed-modules: diff --git a/cabal-testsuite/cabal-testsuite.cabal b/cabal-testsuite/cabal-testsuite.cabal index 732f261ab7a..034def3bde8 100644 --- a/cabal-testsuite/cabal-testsuite.cabal +++ b/cabal-testsuite/cabal-testsuite.cabal @@ -103,6 +103,7 @@ executable cabal-tests , clock ^>= 0.7.2 || ^>=0.8 build-tool-depends: cabal-testsuite:setup + default-extensions: TypeOperators -- this executable is needed by lib:cabal-testsuite executable setup