Skip to content

Commit 5204fa3

Browse files
committed
Merge branch 'master' into rc/v3.1
2 parents 1db33e1 + a813ab9 commit 5204fa3

File tree

138 files changed

+452
-266
lines changed

Some content is hidden

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

138 files changed

+452
-266
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
"build": {
44
"dockerfile": "GHC.Dockerfile",
55
"args": {
6-
"GHC_VERSION": "9.6.5",
7-
"HLS_VERSION": "2.8.0.0",
6+
"GHC_VERSION": "9.6.6",
7+
"HLS_VERSION": "2.9.0.1",
88
"USE_ZSH_FOR_ROOT": "unset-to-use-ash",
99
"SET_LANG": "C.UTF-8",
1010
"SET_TZ": ""
1111
}
1212
},
1313

1414
"onCreateCommand": "onCreateCommand.sh",
15-
"postCreateCommand": "cabal update",
15+
"postCreateCommand": "postCreateCommand.sh",
1616

1717
"features": {
1818
"ghcr.io/devcontainers/features/common-utils:2": {

.devcontainer/ghc-9.10.1/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313

1414
"onCreateCommand": "onCreateCommand.sh",
15-
"postCreateCommand": "cabal update",
15+
"postCreateCommand": "postCreateCommand.sh",
1616

1717
"features": {
1818
"ghcr.io/devcontainers/features/common-utils:2": {

.devcontainer/ghc-9.8.2/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313

1414
"onCreateCommand": "onCreateCommand.sh",
15-
"postCreateCommand": "cabal update",
15+
"postCreateCommand": "postCreateCommand.sh",
1616

1717
"features": {
1818
"ghcr.io/devcontainers/features/common-utils:2": {
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env bash
2+
# Copyright (c) 2023 b-data GmbH.
3+
# Distributed under the terms of the MIT License.
4+
5+
set -e
6+
7+
# Change ownership of the stack folder
8+
sudo chown "$(id -u)":"$(id -g)" /workspaces/stack
9+
10+
# Updates list of known packages
11+
cabal update

.github/workflows/integration-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ jobs:
203203
run: |
204204
set -ex
205205
206-
# As of 19 August 2023, the self-hosted runner comes with Stack 2.11.1,
206+
# As of 11 July 2024, the self-hosted runner comes with Stack 2.15.7,
207207
# but it is not on the PATH. Logging the version for information.
208208
/usr/local/bin/stack --version
209209
@@ -214,7 +214,7 @@ jobs:
214214
run: |
215215
# Stack's project-level configuration (stack.yaml) specifies the
216216
# multi-architecture (including Linux/Aarch64) Docker image published by
217-
# Oliver Benz (@benz0li, on GitHub). That image comes with Stack 2.11.1.
217+
# Oliver Benz (@benz0li, on GitHub). That image comes with Stack 2.15.7.
218218
# (Note that the online documentation for '--docker-stack-exe image'
219219
# specifies that the host Stack and image Stack must have the same
220220
# version number.)

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ Stack aims to depend on well-known packages. The specific versions on which it
342342
depends at any time are specified by `package.yaml` and `stack.yaml`. It does
343343
not aim to be compatible with more than one version of the `Cabal` package at
344344
any time. At the time of writing (May 2024) the package versions are primarily
345-
ones in Stackage snapshot LTS Haskell 22.21 (for GHC 9.6.5), together with
346-
extra-deps to depend on the latest version of `pantry` and `tar`.
345+
ones in Stackage snapshot LTS Haskell 22.28 (for GHC 9.6.6), together with
346+
extra-deps to depend on the latest version of `hpack`, `pantry` and `tar`.
347347

348348
A Stack executable makes use of Cabal (the library) through a small 'Setup'
349349
executable that it compiles from Haskell source code. The executable compiles
@@ -663,7 +663,7 @@ for each file.
663663

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

668668
This workflow will run if:
669669

ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ Other enhancements:
1414

1515
Bug fixes:
1616

17+
* Fix a regression, introduced in Stack 2.15.7, that caused GHC 8.10.7 or
18+
earlier to fail to build a package with a `Custom` build type, if GHC option
19+
`-haddock` was specified.
20+
1721
## v3.1.0.1 (release candidate)
1822

1923
Release notes:

cabal.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ constraints:
8080
, generic-deriving ==1.14.5
8181
, generically ==0.1.1
8282
, ghc-bignum ==1.3
83-
, ghc-boot ==9.6.5
84-
, ghc-boot-th ==9.6.5
83+
, ghc-boot ==9.6.6
84+
, ghc-boot-th ==9.6.6
8585
, ghc-prim ==0.10.0
8686
, githash ==0.1.7.0
8787
, hackage-security ==0.6.2.4

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.21/cabal.config.
36+
-- https://www.stackage.org/lts-22.28/cabal.config.
3737
--
38-
with-compiler: ghc-9.6.5
38+
with-compiler: ghc-9.6.6
3939
import: cabal.config
4040
packages: .

doc/GUIDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ packages:
258258
The value of the [`resolver`](yaml_configuration.md#resolver) key tells Stack
259259
*how* to build your package: which GHC version to use, versions of package
260260
dependencies, and so on. Our value here says to use
261-
[LTS Haskell 22.21](https://www.stackage.org/lts-22.21), which implies GHC 9.6.5
261+
[LTS Haskell 22.28](https://www.stackage.org/lts-22.28), which implies GHC 9.6.6
262262
(which is why `stack build` installs that version of GHC if it is not already
263263
available to Stack). There are a number of values you can use for `resolver`,
264264
which we'll cover later.
@@ -982,7 +982,7 @@ stack purge
982982
stack build :helloworld-test
983983
helloworld> configure (lib + test)
984984
Configuring helloworld-0.1.0.0...
985-
helloworld> build (lib + test) with ghc-9.6.5
985+
helloworld> build (lib + test) with ghc-9.6.6
986986
Preprocessing library for helloworld-0.1.0.0..
987987
Building library for helloworld-0.1.0.0..
988988
[1 of 2] Compiling Lib
@@ -1300,7 +1300,7 @@ yields output like:
13001300

13011301
~~~text
13021302
Run from outside a project, using implicit global project config
1303-
Using latest snapshot resolver: lts-22.21
1303+
Using latest snapshot resolver: lts-22.28
13041304
Writing global (non-project-specific) config file to: /home/michael/.stack/global/stack.yaml
13051305
Note: You can change the snapshot via the resolver field there.
13061306
I installed the stm package via --package stm

0 commit comments

Comments
 (0)