Skip to content

Commit

Permalink
Change to upgrade to GHC 9.6
Browse files Browse the repository at this point in the history
* Stack fails to execute plugins with GHC 9.6 and therefore we disable
  SourceConstraints on GHC 9.6
  • Loading branch information
epicallan committed Nov 15, 2023
1 parent 037e11a commit 49f3e19
Show file tree
Hide file tree
Showing 61 changed files with 4,333 additions and 197 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ['9.4']
ghc: ['9.4', '9.6']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
Expand All @@ -34,7 +34,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ['9.4']
ghc: ['9.6']
os: [ubuntu-latest]
project:
- aws-checkip
Expand Down
19 changes: 12 additions & 7 deletions aws-checkip/aws-checkip.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.2.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand All @@ -15,6 +15,7 @@ license: BSD3
build-type: Simple
tested-with:
GHC == 9.4
, GHC == 9.6

source-repository head
type: git
Expand Down Expand Up @@ -78,11 +79,13 @@ library
, unliftio
default-language: Haskell2010
if flag(development)
ghc-options: -Werror -fplugin=SourceConstraints
build-depends:
source-constraints
ghc-options: -Werror
else
ghc-options: -Wwarn
if impl(ghc < 9.6)
ghc-options: -fplugin=SourceConstraints
build-depends:
source-constraints

test-suite test
type: exitcode-stdio-1.0
Expand Down Expand Up @@ -141,8 +144,10 @@ test-suite test
, unliftio
default-language: Haskell2010
if flag(development)
ghc-options: -Werror -fplugin=SourceConstraints
build-depends:
source-constraints
ghc-options: -Werror
else
ghc-options: -Wwarn
if impl(ghc < 9.6)
ghc-options: -fplugin=SourceConstraints
build-depends:
source-constraints
191 changes: 191 additions & 0 deletions aws-checkip/test/stack-9.6-dependencies.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
Diff 0.4.1
OneTuple 0.4.1.1
QuickCheck 2.14.3
StateVar 1.2.2
aeson 2.1.2.1
alex 3.4.0.1
ansi-terminal 1.0
ansi-terminal-types 0.11.5
appar 0.1.8
array 0.5.5.0
asn1-encoding 0.9.6
asn1-parse 0.9.5
asn1-types 0.3.4
assoc 1.1
async 2.2.4
attoparsec 0.14.4
aws-checkip 0.0.2
barbies 2.0.5.0
base 4.18.1.0
base-compat 0.13.1
base-compat-batteries 0.13.1
base-orphans 0.9.1
base64-bytestring 1.2.1.0
basement 0.0.16
bifunctors 5.6.1
binary 0.8.9.1
bitvec 1.1.5.0
blaze-builder 0.4.2.3
byteorder 1.0.4
bytestring 0.11.5.2
call-stack 0.4.0
case-insensitive 1.2.1.0
cereal 0.5.8.3
charset 0.3.10
clock 0.8.4
cmdargs 0.10.22
colour 2.3.6
comonad 5.0.8
concurrent-output 1.10.20
conduit 1.3.5
constraints 0.13.4
containers 0.6.7
contravariant 1.5.5
conversions 0.0.10
cookie 0.4.6
cpphs 1.20.9.1
crypton 0.33
crypton-connection 0.3.1
crypton-x509 1.7.6
crypton-x509-store 1.6.9
crypton-x509-system 1.6.7
crypton-x509-validation 1.6.12
data-bword 0.1.0.2
data-checked 0.3
data-default 0.7.1.1
data-default-class 0.1.2.0
data-default-instances-containers 0.0.1
data-default-instances-dlist 0.0.1
data-default-instances-old-locale 0.0.1
data-dword 0.3.2.1
data-endian 0.1.1
data-fix 0.3.2
data-serializer 0.3.5
data-textual 0.3.0.3
deepseq 1.4.8.1
deriving-aeson 0.2.9
devtools 0.2.0
directory 1.3.8.1
distributive 0.6.2.1
dlist 1.0
erf 2.0.0.0
exceptions 0.10.7
extra 1.7.14
file-embed 0.0.15.0
filepath 1.4.100.4
filepattern 0.1.3
generically 0.1.1
ghc 9.6.3
ghc-bignum 1.3
ghc-boot 9.6.3
ghc-boot-th 9.6.3
ghc-heap 9.6.3
ghc-lib-parser 9.6.3.20231014
ghc-lib-parser-ex 9.6.0.2
ghc-prim 0.10.0
ghci 9.6.3
happy 1.20.1.1
hashable 1.4.3.0
haskell-lexer 1.1.1
hedgehog 1.4
hlint 3.6.1
hourglass 0.2.12
hpc 0.6.2.0
hscolour 1.25
http-client 0.7.15
http-client-tls 0.3.6.3
http-mclient 0.0.9
http-types 0.12.3
indexed-traversable 0.1.3
indexed-traversable-instances 0.1.1.2
integer-gmp 1.1
integer-logarithms 1.0.3.1
iproute 1.7.12
libyaml 0.1.2
lifted-async 0.10.2.4
lifted-base 0.2.3.12
memory 0.18.0
mime-types 0.1.2.0
mio-core 0.0.1
mio-log 0.0.3
mmorph 1.2.0
monad-control 1.0.3.1
mono-traversable 1.0.15.3
mprelude 0.2.3
mtl 2.3.1
mtl-compat 0.2.2
network 3.1.4.0
network-ip 0.3.0.3
network-uri 2.6.4.2
old-locale 1.0.0.7
old-time 1.1.0.3
optparse-applicative 0.18.1.0
parsec 3.1.16.1
parsers 0.12.11
pem 0.2.4
polyparse 1.13
pretty 1.1.3.6
pretty-show 1.10
prettyprinter 1.7.1
prettyprinter-ansi-terminal 1.1.3
primitive 0.8.0.0
process 1.6.17.0
random 1.2.1.1
refact 0.3.0.2
resourcet 1.3.0
retry 0.9.3.1
rts 1.0.2
safe-exceptions 0.1.7.4
scientific 0.3.7.0
semialign 1.3
semigroupoids 6.0.0.1
semigroups 0.20
socks 0.6.1
source-constraints 0.0.5
split 0.2.4
splitmix 0.1.0.5
stm 2.5.1.0
streaming-commons 0.2.2.6
strict 0.5
syb 0.7.2.4
tagged 0.8.7
tasty 1.4.3
tasty-expected-failure 0.12.3
tasty-hedgehog 1.4.0.2
tasty-hunit 0.10.1
tasty-mgolden 0.0.2
template-haskell 2.20.0.0
terminal-size 0.3.4
text 2.0.2
text-latin1 0.3.1
text-printer 0.5.0.2
text-short 0.1.5
th-abstraction 0.5.0.0
th-compat 0.1.4
th-lift 0.8.4
these 1.2
time 1.12.2
time-compat 1.9.6.1
tls 1.8.0
transformers 0.6.1.0
transformers-base 0.4.6
transformers-compat 0.7.2
type-equality 1
type-hint 0.1
typed-process 0.2.11.1
unbounded-delays 0.1.1.1
uniplate 1.6.13
unix 2.8.1.0
unix-time 0.4.11
unliftio 0.2.25.0
unliftio-core 0.2.1.0
unordered-containers 0.2.19.1
utf8-string 1.0.2
uuid-types 1.0.5.1
vector 0.13.1.0
vector-algorithms 0.9.0.1
vector-stream 0.1.0.0
witherable 0.4.2
wl-pprint-annotated 0.1.0.1
yaml 0.11.11.2
zlib 0.6.3.0
19 changes: 12 additions & 7 deletions aws-rds/aws-rds.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.5.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand All @@ -15,6 +15,7 @@ license: BSD3
build-type: Simple
tested-with:
GHC == 9.4
, GHC == 9.6
extra-source-files:
global-bundle.pem

Expand Down Expand Up @@ -77,11 +78,13 @@ library
, stratosphere-iam
default-language: Haskell2010
if flag(development)
ghc-options: -Werror -fplugin=SourceConstraints
build-depends:
source-constraints
ghc-options: -Werror
else
ghc-options: -Wwarn
if impl(ghc < 9.6)
ghc-options: -fplugin=SourceConstraints
build-depends:
source-constraints

test-suite test
type: exitcode-stdio-1.0
Expand Down Expand Up @@ -139,8 +142,10 @@ test-suite test
, text
default-language: Haskell2010
if flag(development)
ghc-options: -Werror -fplugin=SourceConstraints
build-depends:
source-constraints
ghc-options: -Werror
else
ghc-options: -Wwarn
if impl(ghc < 9.6)
ghc-options: -fplugin=SourceConstraints
build-depends:
source-constraints
Loading

0 comments on commit 49f3e19

Please sign in to comment.