Skip to content

Commit 93b8e8e

Browse files
authored
Merge pull request #6059 from commercialhaskell/ghc926
Move Stack to lts-20.13 (GHC 9.2.7)
2 parents c1e0360 + 400b12f commit 93b8e8e

File tree

110 files changed

+145
-145
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+145
-145
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,9 @@ compatibility with a range of versions of GHC that a library package (such as
285285
Stack aims to depend on well-known packages. The specific versions on which it
286286
depends at any time are specified by `package.yaml` and `stack.yaml`. It does
287287
not aim to be compatible with more than one version of the `Cabal` package at
288-
any time. At the time of writing (January 2023) the package versions are
289-
primarily ones in Stackage snapshot LTS Haskell 20.8 (for GHC 9.2.5), together
290-
with extra-dep `Cabal-3.8.1.0`.
288+
any time. At the time of writing (March 2023) the package versions are primarily
289+
ones in Stackage snapshot LTS Haskell 20.13 (for GHC 9.2.7), together with
290+
extra-dep `Cabal-3.8.1.0`.
291291

292292
A Stack executable makes use of Cabal (the library) through a small 'Setup'
293293
executable that it compiles from Haskell source code. The executable compiles

cabal.config

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ constraints:
2727
, base16-bytestring ==1.0.2.0
2828
, base64-bytestring ==1.2.1.0
2929
, basement ==0.0.15
30-
, bifunctors ==5.5.14
30+
, bifunctors ==5.5.15
3131
, binary ==0.8.9.0
3232
, blaze-builder ==0.4.2.2
3333
, blaze-html ==0.9.1.2
3434
, blaze-markup ==0.8.2.8
3535
, byteorder ==1.0.4
36-
, bytestring ==0.11.3.1
36+
, bytestring ==0.11.4.0
3737
, casa-client ==0.0.1
3838
, casa-types ==0.0.2
3939
, case-insensitive ==1.2.1.0
@@ -56,7 +56,7 @@ constraints:
5656
, data-default-class ==0.1.2.0
5757
, data-fix ==0.3.2
5858
, deepseq ==1.4.6.1
59-
, digest ==0.0.1.4
59+
, digest ==0.0.1.5
6060
, directory ==1.3.6.2
6161
, distributive ==0.6.2.1
6262
, dlist ==1.0
@@ -65,22 +65,22 @@ constraints:
6565
, ed25519 ==0.0.5.0
6666
, exceptions ==0.10.4
6767
, extra ==1.7.12
68-
, fast-logger ==3.1.1
68+
, fast-logger ==3.1.2
6969
, file-embed ==0.0.15.0
7070
, filelock ==0.1.1.5
7171
, filepath ==1.4.2.2
7272
, fsnotify ==0.4.1.0
73-
, generic-deriving ==1.14.2
73+
, generic-deriving ==1.14.3
7474
, ghc-bignum ==1.2
75-
, ghc-boot-th ==9.2.5
75+
, ghc-boot-th ==9.2.7
7676
, ghc-prim ==0.8.0
7777
, githash ==0.1.6.3
7878
, hackage-security ==0.6.2.3
7979
, hashable ==1.4.2.0
8080
, hi-file-parser ==0.1.3.0
8181
, hinotify ==0.4.1
8282
, hourglass ==0.2.12
83-
, hpack ==0.35.1
83+
, hpack ==0.35.2
8484
, hpc ==0.6.1.0
8585
, http-api-data ==0.4.3
8686
, http-client ==0.7.13.1
@@ -89,7 +89,7 @@ constraints:
8989
, http-download ==0.2.0.0
9090
, http-types ==0.12.3
9191
, indexed-traversable ==0.1.2
92-
, indexed-traversable-instances ==0.1.1.1
92+
, indexed-traversable-instances ==0.1.1.2
9393
, infer-license ==0.2.0
9494
, integer-gmp ==1.1
9595
, integer-logarithms ==1.0.3.1
@@ -106,7 +106,7 @@ constraints:
106106
, mime-types ==0.1.0.9
107107
, mintty ==0.1.4
108108
, monad-control ==1.0.3.1
109-
, monad-logger ==0.3.37
109+
, monad-logger ==0.3.39
110110
, monad-loops ==0.4.3
111111
, mono-traversable ==1.0.15.3
112112
, mtl ==2.2.2
@@ -128,7 +128,7 @@ constraints:
128128
, path-pieces ==0.2.1
129129
, pem ==0.2.4
130130
, persistent ==2.14.4.3
131-
, persistent-sqlite ==2.13.1.0
131+
, persistent-sqlite ==2.13.1.1
132132
, persistent-template ==2.12.0.0
133133
, pretty ==1.1.3.6
134134
, primitive ==0.7.3.0
@@ -168,8 +168,8 @@ constraints:
168168
, text-short ==0.1.5
169169
, th-abstraction ==0.4.5.0
170170
, th-compat ==0.1.4
171-
, th-expand-syns ==0.4.10.0
172-
, th-lift ==0.8.2
171+
, th-expand-syns ==0.4.11.0
172+
, th-lift ==0.8.3
173173
, th-lift-instances ==0.1.20
174174
, th-reify-many ==0.1.10
175175
, these ==1.1.1.1
@@ -179,14 +179,14 @@ constraints:
179179
, transformers ==0.5.6.2
180180
, transformers-base ==0.4.6
181181
, transformers-compat ==0.7.2
182-
, typed-process ==0.2.10.1
182+
, typed-process ==0.2.11.0
183183
, unicode-data ==0.3.1
184184
, unicode-transforms ==0.4.0.1
185185
, unix ==2.7.2.2
186186
, unix-compat ==0.5.4
187187
, unix-time ==0.4.8
188-
, unliftio ==0.2.23.0
189-
, unliftio-core ==0.2.0.1
188+
, unliftio ==0.2.24.0
189+
, unliftio-core ==0.2.1.0
190190
, unordered-containers ==0.2.19.1
191191
, uuid-types ==1.0.5
192192
, vault ==0.3.1.5
@@ -197,6 +197,6 @@ constraints:
197197
, x509-store ==1.6.9
198198
, x509-system ==1.6.7
199199
, x509-validation ==1.6.12
200-
, yaml ==0.11.8.0
200+
, yaml ==0.11.11.0
201201
, zip-archive ==0.4.2.2
202202
, zlib ==0.6.3.0

cabal.project

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
-- specified by the snapshot specifed in Stack's project-level YAML
3434
-- configuration file (`stack.yaml`). The relevant version of GHC can be
3535
-- confirmed by reviewing the snapshot on Stackage. For example, at:
36-
-- https://www.stackage.org/lts-20.8/cabal.config.
36+
-- https://www.stackage.org/lts-20.13/cabal.config.
3737
--
38-
with-compiler: ghc-9.2.5
38+
with-compiler: ghc-9.2.7
3939
import: cabal.config
4040
packages: .

etc/dockerfiles/arm64.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Stack is built with GHC 9.2.5. GHC 9.2.5 for Linux/AArch64 says it was made on
1+
# Stack is built with GHC 9.2.7. GHC 9.2.7 for Linux/AArch64 says it was made on
22
# a Debian 10 system and requires GMP 6.1. Debian 10 is codename 'buster' and
33
# includes libc6 (2.28-10+deb10u1).
44
FROM debian:buster
@@ -50,5 +50,5 @@ RUN stack build shake
5050

5151
COPY etc/scripts/release.hs /src
5252

53-
RUN stack script --resolver lts-20.8 --extra-dep Cabal-3.6.3.0 --compile /src/release.hs -- --version
53+
RUN stack script --resolver lts-20.13 --extra-dep Cabal-3.6.3.0 --compile /src/release.hs -- --version
5454
RUN cp /src/release /home/stack

etc/scripts/build-stack-installer.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{- stack script
2-
--resolver nightly-2022-11-14
2+
--resolver lts-20.13
33
--install-ghc
44
--package nsis
55
-}

etc/scripts/release.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{- stack script
2-
--resolver nightly-2022-11-14
2+
--resolver lts-20.13
33
--extra-dep Cabal-3.6.3.0
44
--extra-dep directory-1.3.6.2
55
--ghc-options -Wall

src/Stack/Constants.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ wiredInPackages = case mparsed of
224224
[ "ghc-prim"
225225
-- A magic package
226226
, "integer-gmp"
227-
-- No longer magic > 1.0.3.0. With GHC 9.2.5 at least, there seems to be
227+
-- No longer magic > 1.0.3.0. With GHC 9.2.7 at least, there seems to be
228228
-- no problem in using it.
229229
, "integer-simple"
230230
-- A magic package
@@ -236,16 +236,16 @@ wiredInPackages = case mparsed of
236236
-- A magic package
237237
, "dph-seq"
238238
-- Deprecated in favour of dph-prim-seq, which does not appear to be
239-
-- magic. With GHC 9.2.5 at least, there seems to be no problem in using
239+
-- magic. With GHC 9.2.7 at least, there seems to be no problem in using
240240
-- it.
241241
, "dph-par"
242242
-- Deprecated in favour of dph-prim-par, which does not appear to be
243-
-- magic. With GHC 9.2.5 at least, there seems to be no problem in using
243+
-- magic. With GHC 9.2.7 at least, there seems to be no problem in using
244244
-- it.
245245
, "ghc"
246246
-- A magic package
247247
, "interactive"
248-
-- Could not identify information about this package name. With GHC 9.2.5
248+
-- Could not identify information about this package name. With GHC 9.2.7
249249
-- at least, there seems to be no problem in using it.
250250
, "ghc-bignum"
251251
-- A magic package

stack.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# GHC 9.2.5
2-
resolver: lts-20.8
1+
# GHC 9.2.7
2+
resolver: lts-20.13
33

44
packages:
55
- .
@@ -9,9 +9,9 @@ extra-deps:
99
- pantry-0.8.1@sha256:196111414d2489499fda6213deebcb865bc12285023d5af9bd273bf27cdb185d,4099
1010
- persistent-2.14.4.3@sha256:22237669897fed2b71de521bfeba7f8e0677e54992920288ae1fa8206a4711fc,7199
1111
- rio-prettyprint-0.1.4.0@sha256:1f8eb3ead0ef33d3736d53e1de5e9b2c91a0c207cdca23321bd74c401e85f23a,1301
12-
# lts-20.8 specifies Cabal-3.6.3.0
12+
# lts-20.13 specifies Cabal-3.6.3.0
1313
- Cabal-3.8.1.0@sha256:155d64beeecbae2b19e5d67844532494af88bc8795d4db4146a0c29296f59967,12220
14-
# lts-20.8 specifies Cabal-syntax-3.6.0.0
14+
# lts-20.13 specifies Cabal-syntax-3.6.0.0
1515
- Cabal-syntax-3.8.1.0@sha256:4936765e9a7a8ecbf8fdbe9067f6d972bc0299220063abb2632a9950af64b966,7619
1616

1717
drop-packages:
@@ -20,7 +20,7 @@ drop-packages:
2020

2121
docker:
2222
enable: false
23-
repo: fpco/alpine-haskell-stack:9.2.5
23+
repo: fpco/alpine-haskell-stack:9.2.7
2424

2525
nix:
2626
# --nix on the command-line to enable.

stack.yaml.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ packages:
4848
hackage: Cabal-syntax-3.8.1.0@sha256:4936765e9a7a8ecbf8fdbe9067f6d972bc0299220063abb2632a9950af64b966,7619
4949
snapshots:
5050
- completed:
51-
sha256: bfafe5735ccb74527d754b1f9999ded72d7c3a6c3a88529449661431ccfbd6cc
52-
size: 649327
53-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/8.yaml
54-
original: lts-20.8
51+
sha256: b37c0abab16c7de352c45b85f8ecc8530b084209a2c42987a96c92b4a5e3cd65
52+
size: 648924
53+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/13.yaml
54+
original: lts-20.13

test/integration/lib/StackTest.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ isMacOSX = os == "darwin"
328328
-- the main @stack.yaml@.
329329
--
330330
defaultResolverArg :: String
331-
defaultResolverArg = "--resolver=nightly-2022-11-14"
331+
defaultResolverArg = "--resolver=lts-20.13"
332332

333333
-- | Remove a file and ignore any warnings about missing files.
334334
removeFileIgnore :: HasCallStack => FilePath -> IO ()

0 commit comments

Comments
 (0)