Skip to content

Commit

Permalink
default-extensions: type operators to compile with 9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysses4ever committed Aug 23, 2022
1 parent c2c6aea commit 17059ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cabal-install/cabal-install.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -272,6 +273,7 @@ executable cabal
test-suite unit-tests
import: warnings, base-dep, cabal-dep, cabal-syntax-dep, cabal-install-solver-dep
default-language: Haskell2010
default-extensions: TypeOperators
ghc-options: -rtsopts -threaded

type: exitcode-stdio-1.0
Expand Down
1 change: 1 addition & 0 deletions cabal-testsuite/cabal-testsuite.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17059ca

Please sign in to comment.