Skip to content

Commit d29cfee

Browse files
authored
Merge pull request #6452 from commercialhaskell/lts-22.7
Bump Stack to GHC 9.6.4/lts-22.7
2 parents 42588b2 + 968c10e commit d29cfee

File tree

128 files changed

+191
-191
lines changed

Some content is hidden

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

128 files changed

+191
-191
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"build": {
44
"dockerfile": "GHC.Dockerfile",
55
"args": {
6-
"GHC_VERSION": "9.6.3",
7-
"HLS_VERSION": "2.5.0.0",
6+
"GHC_VERSION": "9.6.4",
7+
"HLS_VERSION": "2.6.0.0",
88
"USE_ZSH_FOR_ROOT": "unset-to-use-ash",
99
"SET_LANG": "C.UTF-8",
1010
"SET_TZ": ""

.github/workflows/integration-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ jobs:
3333
include:
3434
- os: ubuntu-latest
3535
release-args: "--alpine"
36-
cache-bust: "2023-10-11"
36+
cache-bust: "2024-01-20"
3737
- os: windows-latest
3838
release-args: ""
39-
cache-bust: "13"
39+
cache-bust: "2024-01-20"
4040
- os: macos-latest
4141
release-args: ""
42-
cache-bust: "23"
42+
cache-bust: "2024-01-20"
4343
steps:
4444
- name: Clone project
4545
uses: actions/checkout@v3

.github/workflows/stan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: |
2424
git clone https://github.com/kowainik/stan.git
2525
cd stan
26-
stack --compiler ghc-9.6.3 --local-bin-path ../.bin install
26+
stack --compiler ghc-9.6.4 --local-bin-path ../.bin install
2727
cd ..
2828
2929
- name: Generate .hie for analysis

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ for each file.
606606

607607
[Stan](https://hackage.haskell.org/package/stan) is a Haskell static analysis
608608
tool. As of `stan-0.1.0.1`, it supports GHC >= 9.6.3 and Stack is built with
609-
GHC 9.6.3. The tool is configured by the contents of the `.stan.toml` file.
609+
GHC 9.6.4. The tool is configured by the contents of the `.stan.toml` file.
610610

611611
This workflow will run if:
612612

ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Other enhancements:
6565
`notify-if-cabal-untested` keys are introduced, to allow the notification to
6666
be muted if unwanted.
6767
* The compiler version is included in Stack's build message (e.g.
68-
`stack> build (lib + exe + test) with ghc-9.6.3`).
68+
`stack> build (lib + exe + test) with ghc-9.6.4`).
6969
* Add flag `--candidate` to Stack's `unpack` command, to allow package
7070
candidates to be unpacked locally.
7171
* Stack will notify the user if a specified architecture value is unknown to

cabal.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ constraints:
189189
, transformers-base ==0.4.6
190190
, transformers-compat ==0.7.2
191191
, typed-process ==0.2.11.1
192-
, unix ==2.8.1.0
192+
, unix ==2.8.4.0
193193
, unix-compat ==0.7.1
194194
, unix-time ==0.4.11
195195
, unliftio ==0.2.25.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-22.6/cabal.config.
36+
-- https://www.stackage.org/lts-22.7/cabal.config.
3737
--
38-
with-compiler: ghc-9.6.3
38+
with-compiler: ghc-9.6.4
3939
import: cabal.config
4040
packages: .

doc/GUIDE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ packages:
255255

256256
The value of the `resolver` key tells Stack *how* to build your package: which
257257
GHC version to use, versions of package dependencies, and so on. Our value here
258-
says to use [LTS Haskell 22.6](https://www.stackage.org/lts-22.6), which
259-
implies GHC 9.6.3 (which is why `stack build` installs that version of GHC if it
258+
says to use [LTS Haskell 22.7](https://www.stackage.org/lts-22.7), which
259+
implies GHC 9.6.4 (which is why `stack build` installs that version of GHC if it
260260
is not already available to Stack). There are a number of values you can use for
261261
`resolver`, which we'll cover later.
262262

@@ -503,7 +503,7 @@ also known as *snapshots*. We mentioned the LTS resolvers, and you can get quite
503503
a bit of information about it at
504504
[https://www.stackage.org/lts](https://www.stackage.org/lts), including:
505505

506-
* The appropriate resolver value (`resolver: lts-22.6`, as is currently the
506+
* The appropriate resolver value (`resolver: lts-22.7`, as is currently the
507507
latest LTS)
508508
* The GHC version used
509509
* A full list of all packages available in this snapshot
@@ -522,7 +522,7 @@ towards by default as well).
522522

523523
## Resolvers and changing your compiler version
524524

525-
Let's explore package sets a bit further. Instead of `lts-22.6`, let's change
525+
Let's explore package sets a bit further. Instead of `lts-22.7`, let's change
526526
our `stack.yaml` file to use the
527527
[latest nightly](https://www.stackage.org/nightly). Right now, this is currently
528528
2023-09-24 - please see the resolver from the link above to get the latest.
@@ -1340,7 +1340,7 @@ yields output like:
13401340

13411341
~~~text
13421342
Run from outside a project, using implicit global project config
1343-
Using latest snapshot resolver: lts-22.6
1343+
Using latest snapshot resolver: lts-22.7
13441344
Writing global (non-project-specific) config file to: /home/michael/.stack/global/stack.yaml
13451345
Note: You can change the snapshot via the resolver field there.
13461346
I installed the stm package via --package stm

doc/Stack_and_VS_Code.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ enabled). For further information about these options, see the `install-ghc`
7575

7676
For this workaround to work, each time that a resolver is used that references a
7777
different version of GHC, then GHCup must be used to install it (if GHCup has
78-
not already installed that version). For example, to use `resolver: lts-22.6`
79-
(GHC 9.6.3), the command `ghcup install ghc 9.6.3` must have been used to
80-
install GHC 9.6.3. That may be a minor inconvenience for some people, as one the
78+
not already installed that version). For example, to use `resolver: lts-22.7`
79+
(GHC 9.6.4), the command `ghcup install ghc 9.6.4` must have been used to
80+
install GHC 9.6.4. That may be a minor inconvenience for some people, as one the
8181
primary benefits of Stack over other Haskell build tools has been that Stack
8282
automatically ensures that the necessary version of GHC is available.
8383

doc/custom_snapshot.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ available in snapshots to ensure reproducibility.
1717
snapshot specification.
1818

1919
~~~yaml
20-
resolver: lts-22.6 # Inherits GHC version and package set
21-
compiler: ghc-9.6.2 # Overwrites GHC version in the resolver, optional
20+
resolver: lts-22.7 # Inherits GHC version and package set
21+
compiler: ghc-9.6.3 # Overwrites GHC version in the resolver, optional
2222

2323
# Additional packages, follows extra-deps syntax
2424
packages:
@@ -61,35 +61,35 @@ custom snapshot, due to Stack sharing snapshot packages whenever possible.
6161

6262
### Overriding the compiler
6363

64-
The following snapshot specification will be identical to `lts-22.6`, but
65-
instead use `ghc-9.6.2` instead of `ghc-9.6.3`:
64+
The following snapshot specification will be identical to `lts-22.7`, but
65+
instead use `ghc-9.6.3` instead of `ghc-9.6.4`:
6666

6767
~~~yaml
68-
resolver: lts-22.6
69-
compiler: ghc-9.6.2
68+
resolver: lts-22.7
69+
compiler: ghc-9.6.3
7070
~~~
7171

7272
### Dropping packages
7373

74-
The following snapshot specification will be identical to `lts-22.6`, but
74+
The following snapshot specification will be identical to `lts-22.7`, but
7575
without the `text` package in our snapshot. Removing this package will cause all
7676
the packages that depend on `text` to be unbuildable, but they will still be
7777
present in the snapshot.
7878

7979
~~~yaml
80-
resolver: lts-22.6
80+
resolver: lts-22.7
8181
drop-packages:
8282
- text
8383
~~~
8484

8585
### Hiding packages
8686

87-
The following snapshot specification will be identical to `lts-22.6`, but the
87+
The following snapshot specification will be identical to `lts-22.7`, but the
8888
`text` package will be hidden when registering. This will affect, for example,
8989
the import parser in the script command.
9090

9191
~~~yaml
92-
resolver: lts-22.6
92+
resolver: lts-22.7
9393
hidden:
9494
- text
9595
~~~
@@ -99,11 +99,11 @@ hidden:
9999
In order to specify GHC options for a package, you use the same syntax as the
100100
[ghc-options](yaml_configuration.md#ghc-options) key for build configuration.
101101

102-
The following snapshot specification will be identical to `lts-22.6`, but
102+
The following snapshot specification will be identical to `lts-22.7`, but
103103
provides `-O1` as a ghc-option for `text`:
104104

105105
~~~yaml
106-
resolver: lts-22.6
106+
resolver: lts-22.7
107107
packages:
108108
- text-2.0.2
109109
ghc-options:
@@ -122,11 +122,11 @@ packages in the `packages` list, rather than all packages in the snapshot.
122122

123123
In order to specify Cabal flags for a package, you use the same syntax as the
124124
[flags](yaml_configuration.md#flags) key for build configuration. The
125-
following snapshot specification will be identical to `lts-22.6`, but
125+
following snapshot specification will be identical to `lts-22.7`, but
126126
it enables the `developer` Cabal flag:
127127

128128
~~~yaml
129-
resolver: lts-22.6
129+
resolver: lts-22.7
130130
packages:
131131
- text-2.0.2
132132
flags:

0 commit comments

Comments
 (0)