Skip to content

Commit 0fcfff8

Browse files
committed
;pkg: stack, cabal: re-test & refine all build plans for aeson 2.3 etc.
1 parent 812fccb commit 0fcfff8

6 files changed

Lines changed: 50 additions & 17 deletions

File tree

cabal.project

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,25 @@ packages: hledger-lib
33
hledger-ui
44
hledger-web
55

6-
-- workarounds for
6+
-- workarounds:
77
-- https://github.com/haskell/haskeline/issues/130 / hledger #2410, see hledger/package.yaml
88
-- https://github.com/jtdaugherty/brick/issues/539
99
-- https://github.com/yesodweb/yesod/issues/1917
1010
-- https://haskell.github.io/security-advisories/advisory/HSEC-2026-0007.html
1111

1212
constraints:
13+
attoparsec-aeson >=2.2.2.0,
1314
brick >= 2.10,
1415
haskeline >= 0.8.4,
16+
persistent >= 2.14.5.2,
1517
ram < 0,
1618
text-iso8601 >= 0.2,
19+
vty-windows >= 0.2.0.1,
1720

1821
allow-newer:
1922
aeson,
2023
containers,
24+
template-haskell,
2125
text-iso8601,
2226

2327

stack.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,20 @@ packages:
77
- hledger-ui
88
- hledger-web
99

10-
resolver: nightly-2026-06-01
1110
compiler: ghc-9.14
1211
# notify-if-ghc-untested: false
1312
# notify-if-cabal-untested: false
1413
notify-if-no-run-tests: false
15-
# for hledger-web and https://haskell.github.io/security-advisories/advisory/HSEC-2026-0007.html
14+
15+
resolver: nightly-2026-06-01
16+
1617
extra-deps:
18+
# https://haskell.github.io/security-advisories/advisory/HSEC-2026-0007.html
1719
- aeson-2.3.0.0
1820
- text-iso8601-0.2.0.0
1921
allow-newer: true
22+
allow-newer-deps:
23+
- aeson-pretty
24+
- http-api-data
25+
- persistent
26+
- yesod-test

stack910.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.10
33
# https://downloads.haskell.org/ghc/9.10.1/docs/users_guide/9.10.1-notes.html
44

5-
resolver: lts-24.34
5+
resolver: lts-24.44
66

77
packages:
88
- hledger-lib
@@ -11,12 +11,16 @@ packages:
1111
- hledger-web
1212

1313
extra-deps:
14-
# for #2410, #2512:
14+
# #2410, #2512:
1515
- haskeline-0.8.4.1
16-
# for hledger-web and https://haskell.github.io/security-advisories/advisory/HSEC-2026-0007.html
16+
# https://haskell.github.io/security-advisories/advisory/HSEC-2026-0007.html
1717
- aeson-2.3.0.0
1818
- text-iso8601-0.2.0.0
1919
allow-newer: true
20+
allow-newer-deps:
21+
- aeson-pretty
22+
- http-api-data
23+
- persistent
2024

2125
nix:
2226
pure: false

stack912.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,16 @@ packages:
1313

1414
resolver: nightly-2026-06-01
1515

16-
# for hledger-web and https://haskell.github.io/security-advisories/advisory/HSEC-2026-0007.html
1716
extra-deps:
17+
# https://haskell.github.io/security-advisories/advisory/HSEC-2026-0007.html
1818
- aeson-2.3.0.0
1919
- text-iso8601-0.2.0.0
2020
allow-newer: true
21+
allow-newer-deps:
22+
- aeson-pretty
23+
- http-api-data
24+
- persistent
25+
- yesod-test
2126

2227
nix:
2328
pure: false

stack96.yaml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,25 @@ packages:
66
- hledger-lib
77
- hledger
88
- hledger-ui
9-
#- hledger-web # see below
9+
- hledger-web
1010

1111
extra-deps:
1212
- encoding-0.10
1313
- hashtables-1.4.2
14-
- vty-windows-0.2.0.1
15-
# for #2410, #2512:
14+
# #2410, #2512:
1615
- haskeline-0.8.4.1
17-
# build plan for hledger-web and https://haskell.github.io/security-advisories/advisory/HSEC-2026-0007.html, needs more work
18-
# - aeson-2.3.0.0
19-
# - text-iso8601-0.2.0.0
20-
# - character-ps-0.1
21-
# allow-newer: true
16+
- vty-windows-0.2.0.1
17+
# https://haskell.github.io/security-advisories/advisory/HSEC-2026-0007.html
18+
- aeson-2.3.0.0
19+
- aeson-pretty-0.8.10
20+
- attoparsec-aeson-2.2.2.0
21+
- character-ps-0.1
22+
- text-iso8601-0.2.0.0
23+
allow-newer: true
24+
allow-newer-deps:
25+
- aeson
26+
- aeson-pretty
27+
- persistent
2228

2329
nix:
2430
pure: false

stack98.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,19 @@ packages:
1111
extra-deps:
1212
- encoding-0.10
1313
- hashtables-1.4.2
14-
# for #2410, #2512:
14+
# #2410, #2512:
1515
- haskeline-0.8.4.1
16-
# for hledger-web and https://haskell.github.io/security-advisories/advisory/HSEC-2026-0007.html
16+
# https://haskell.github.io/security-advisories/advisory/HSEC-2026-0007.html
1717
- aeson-2.3.0.0
18+
- aeson-pretty-0.8.10
19+
# use latest revision, not the rev0 in the snapshot:
20+
- attoparsec-aeson-2.2.2.0
1821
- text-iso8601-0.2.0.0
1922
allow-newer: true
23+
allow-newer-deps:
24+
- aeson-pretty
25+
- http-api-data
26+
- persistent
2027

2128
nix:
2229
pure: false

0 commit comments

Comments
 (0)