Skip to content

Commit f2c5b70

Browse files
authored
Merge pull request #6750 from commercialhaskell/recurator52
2 parents 9375334 + 6cae19c commit f2c5b70

File tree

8 files changed

+19
-9
lines changed

8 files changed

+19
-9
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ depends at any time are specified by `package.yaml` and `stack.yaml`. It does
350350
not aim to be compatible with more than one version of the `Cabal` package at
351351
any time. At the time of writing (June 2025) the package versions are
352352
primarily ones in Stackage snapshot LTS Haskell 23.24 (for GHC 9.8.4) and
353-
`hpack-0.38.1` and `tls-2.1.8`.
353+
`hpack-0.38.1`, `persistent-2.17.0.0` and `tls-2.1.8`.
354354

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

cabal.config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ constraints:
145145
, path-io ==1.8.2
146146
, path-pieces ==0.2.1
147147
, pem ==0.2.4
148-
, persistent ==2.14.6.3
148+
, persistent ==2.17.0.0
149149
, persistent-sqlite ==2.13.3.0
150150
, persistent-template ==2.12.0.0
151151
, pretty ==1.1.3.6
@@ -155,6 +155,7 @@ constraints:
155155
, process ==1.6.25.0
156156
, project-template ==0.2.1.0
157157
, random ==1.2.1.3
158+
, replace-megaparsec ==1.5.0.1
158159
, resource-pool ==0.4.0.0
159160
, resourcet ==1.3.0
160161
, retry ==0.9.3.1

package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ dependencies:
105105
# In order for Cabal (the tool) to build Stack, it needs to be told of the
106106
# upper bound on persistent. See
107107
# https://github.com/commercialhaskell/stack/pull/5677#issuecomment-1193318542
108-
- persistent >= 2.14.0.0 && < 2.15
108+
- persistent >= 2.14.0.0 && < 2.18
109109
- persistent-sqlite
110110
- pretty
111111
- process >= 1.6.13.2

src/Stack/Storage/Project.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ share [ mkPersist sqlSettings
5959
]
6060
[persistLowerCase|
6161
ConfigCacheParent sql="config_cache"
62-
directory FilePath "default=(hex(randomblob(16)))"
62+
directory FilePath default="(hex(randomblob(16)))"
6363
type ConfigCacheType
6464
pkgSrc CachePkgSrc
6565
active Bool

src/Stack/Storage/User.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ share [ mkPersist sqlSettings
9797
]
9898
[persistLowerCase|
9999
PrecompiledCacheParent sql="precompiled_cache"
100-
platformGhcDir FilePath "default=(hex(randomblob(16)))"
100+
platformGhcDir FilePath default="(hex(randomblob(16)))"
101101
compiler Text
102102
cabalVersion Text
103103
packageKey Text

stack.cabal

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ library
456456
, pantry >=0.10.1
457457
, path >=0.9.5
458458
, path-io
459-
, persistent >=2.14.0.0 && <2.15
459+
, persistent >=2.14.0.0 && <2.18
460460
, persistent-sqlite
461461
, pretty
462462
, process >=1.6.13.2
@@ -579,7 +579,7 @@ executable stack
579579
, pantry >=0.10.1
580580
, path >=0.9.5
581581
, path-io
582-
, persistent >=2.14.0.0 && <2.15
582+
, persistent >=2.14.0.0 && <2.18
583583
, persistent-sqlite
584584
, pretty
585585
, process >=1.6.13.2
@@ -684,7 +684,7 @@ executable stack-integration-test
684684
, pantry >=0.10.1
685685
, path >=0.9.5
686686
, path-io
687-
, persistent >=2.14.0.0 && <2.15
687+
, persistent >=2.14.0.0 && <2.18
688688
, persistent-sqlite
689689
, pretty
690690
, process >=1.6.13.2
@@ -801,7 +801,7 @@ test-suite stack-unit-test
801801
, pantry >=0.10.1
802802
, path >=0.9.5
803803
, path-io
804-
, persistent >=2.14.0.0 && <2.15
804+
, persistent >=2.14.0.0 && <2.18
805805
, persistent-sqlite
806806
, pretty
807807
, process >=1.6.13.2

stack.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ snapshot: lts-23.24 # GHC 9.8.4
33
extra-deps:
44
# lts-23.24 provides hpack-0.37.0
55
- hpack-0.38.1@rev:0
6+
# lts-23.24 provides persistent-2.14.6.3
7+
- persistent-2.17.0.0@rev:0
68
# lts-23.24 provides tls-2.1.1
79
- tls-2.1.8@rev:0
810

stack.yaml.lock

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ packages:
1111
size: 3798
1212
original:
1313
hackage: hpack-0.38.1@rev:0
14+
- completed:
15+
hackage: persistent-2.17.0.0@sha256:0f7e9ffa26c2d3fc4b9529de4604ce3880b5ce6d95229372c3aae83ca2a0f0ea,7049
16+
pantry-tree:
17+
sha256: dbb4bb665db11ca940ddea74f455afdfeb827fd9a3cef663e15673a678e3917c
18+
size: 7096
19+
original:
20+
hackage: persistent-2.17.0.0@rev:0
1421
- completed:
1522
hackage: tls-2.1.8@sha256:69b583c77cc25d8efd62fd48462f469a7c66db551013db753e4062e3b56576f9,6223
1623
pantry-tree:

0 commit comments

Comments
 (0)