Skip to content

Commit 35421c7

Browse files
chore: stackage 22.44 -> 23.27
This updates stackage builds to GHC 9.8.4.
1 parent 9434df8 commit 35421c7

File tree

5 files changed

+53
-19
lines changed

5 files changed

+53
-19
lines changed

.cirrus.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ build_task:
3434
- md5sum stack.yaml.lock
3535
- find main src -type f -iname '*.hs' -exec md5sum "{}" +
3636

37+
# TODO: Remove --allow-newer when our dependencies are in-sync with stackage.
3738
build_script: |
38-
stack build -j 1 --local-bin-path . --copy-bins
39+
stack build -j 1 --local-bin-path . --copy-bins --allow-newer
3940
strip postgrest
4041
4142
bin_artifacts:

.github/workflows/build.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
- uses: haskell-actions/setup@96f3dafd067155f32643c2a0757ab71d2910e2c2 # v2.8.0
131131
with:
132132
# This must match the version in stack.yaml's resolver
133-
ghc-version: 9.6.7
133+
ghc-version: 9.8.4
134134
enable-stack: true
135135
stack-no-global: true
136136
stack-setup-ghc: true
@@ -151,7 +151,8 @@ jobs:
151151
if: matrix.deps
152152
run: ${{ matrix.deps }}
153153
- name: Build with Stack
154-
run: stack build --lock-file error-on-write --local-bin-path result --copy-bins
154+
# TODO: Remove --allow-newer when our dependencies are in-sync with stackage.
155+
run: stack build --lock-file error-on-write --local-bin-path result --copy-bins --allow-newer
155156
- name: Strip Executable
156157
run: strip result/postgrest*
157158
- name: Save built executable as artifact

postgrest.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ tested-with:
1919
-- nix
2020
GHC == 9.4.8
2121
-- cabal on Ubuntu
22-
-- stack on FreeBSD, MacOS, Ubuntu, Windows
2322
, GHC == 9.6.7
2423
-- cabal on Ubuntu
24+
-- stack on FreeBSD, MacOS, Ubuntu, Windows
2525
, GHC == 9.8.4
2626

2727
source-repository head

stack.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: lts-22.44 # 2025-05-02, GHC 9.6.7
1+
resolver: lts-23.27 # 2025-07-06, GHC 9.8.4
22

33
nix:
44
packages:
@@ -10,6 +10,10 @@ nix:
1010

1111
extra-deps:
1212
- fuzzyset-0.2.4
13+
- hasql-1.6.4.4
14+
- hasql-dynamic-statements-0.3.1.5
15+
- hasql-implicits-0.1.1.3
16+
- hasql-notifications-0.2.2.2
1317
- hasql-pool-1.0.1
14-
- jose-jwt-0.10.0
15-
- postgresql-libpq-0.10.1.0
18+
- hasql-transaction-1.1.0.1
19+
- postgresql-binary-0.13.1.3

stack.yaml.lock

Lines changed: 40 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,34 @@ packages:
1111
size: 574
1212
original:
1313
hackage: fuzzyset-0.2.4
14+
- completed:
15+
hackage: hasql-1.6.4.4@sha256:a26b346aaf33b903f011f8c47a1a1230ea2b0aa1d8325aaf779da425d6c076c5,4391
16+
pantry-tree:
17+
sha256: 120edb520584aa107998b49a7809fa70a1ad4648a9cae26d3b031cfe15bce18e
18+
size: 2607
19+
original:
20+
hackage: hasql-1.6.4.4
21+
- completed:
22+
hackage: hasql-dynamic-statements-0.3.1.5@sha256:2455a5fdd8cc6458a6fa66cbca8a01d25011e16c405e36b0c6d75fc39b15477f,2961
23+
pantry-tree:
24+
sha256: f4fe881d367499a03290028180fdcb76be050807d1e13effeec6c78ab23b481a
25+
size: 595
26+
original:
27+
hackage: hasql-dynamic-statements-0.3.1.5
28+
- completed:
29+
hackage: hasql-implicits-0.1.1.3@sha256:7a46264113765b0080de33560b22e13d4dfe811ce20e9e805fe600f30a0d418a,1334
30+
pantry-tree:
31+
sha256: 51278386de1d497546c1b1baabefaf16a63c30cb00dd8f1e8a9dc74291db9aac
32+
size: 264
33+
original:
34+
hackage: hasql-implicits-0.1.1.3
35+
- completed:
36+
hackage: hasql-notifications-0.2.2.2@sha256:d1d6bc0d3ee5e418fc12ea023b78739e0decba6c34e2b43bec55b89e18bd4412,2025
37+
pantry-tree:
38+
sha256: 83a9cbb179b1efd0b2acd6509583c7afcdbe63469ab033d8581d48d675a80b44
39+
size: 452
40+
original:
41+
hackage: hasql-notifications-0.2.2.2
1442
- completed:
1543
hackage: hasql-pool-1.0.1@sha256:3cfb4c7153a6c536ac7e126c17723e6d26ee03794954deed2d72bcc826d05a40,2302
1644
pantry-tree:
@@ -19,22 +47,22 @@ packages:
1947
original:
2048
hackage: hasql-pool-1.0.1
2149
- completed:
22-
hackage: jose-jwt-0.10.0@sha256:6ed175a01c721e317ceea15eb251a81de145c03711a977517935633a5cdec1d4,3546
50+
hackage: hasql-transaction-1.1.0.1@sha256:ca451ad29d2195d9e59e9118ab1b210887fea15383fa175895bba711e92b1d00,3302
2351
pantry-tree:
24-
sha256: 58649e68e2d1adb47d8ed8741bd27ac23a2f19e3ee62bc28a68ac8642b3e0858
25-
size: 1231
52+
sha256: b0435127264b8f40c11e0474d7c208f40278acd470fa2368ba2c6cda3a4f7ced
53+
size: 1027
2654
original:
27-
hackage: jose-jwt-0.10.0
55+
hackage: hasql-transaction-1.1.0.1
2856
- completed:
29-
hackage: postgresql-libpq-0.10.1.0@sha256:6b580c9d5068e78eecc13e655b2885c8e79cdacfca513c5d1e5a6b9dc61d9758,3166
57+
hackage: postgresql-binary-0.13.1.3@sha256:4de5ddc90d9d3e586c3edf2860280a0915a484e9b8de3f36316a4cab2b330852,4037
3058
pantry-tree:
31-
sha256: ae81e7628a8f3d1ef33ace71fa0845c073c003ca7f1150cc9d9ba1e55fc84236
32-
size: 1096
59+
sha256: a5e9a06511b2a6a5be2388a4874d3c62babcfe1165b876e425bcc819b0474cde
60+
size: 1661
3361
original:
34-
hackage: postgresql-libpq-0.10.1.0
62+
hackage: postgresql-binary-0.13.1.3
3563
snapshots:
3664
- completed:
37-
sha256: 238fa745b64f91184f9aa518fe04bdde6552533d169b0da5256670df83a0f1a9
38-
size: 721141
39-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/44.yaml
40-
original: lts-22.44
65+
sha256: 069c8189232279d04bd107557d3a62132c04ae5ce3c710649e6b40f67f10b9d5
66+
size: 684285
67+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/23/27.yaml
68+
original: lts-23.27

0 commit comments

Comments
 (0)