Skip to content

Commit a50f3be

Browse files
committed
Refactor: update resolver to GHC 9.2.2
1 parent fdfe5cf commit a50f3be

4 files changed

Lines changed: 54 additions & 41 deletions

File tree

app/Antenna/Html.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import qualified RIO.Text.Lazy as TL
1111
import RIO.Time
1212

1313
import Antenna.Config
14+
import Data.Time.Format.ISO8601 (iso8601ParseM)
1415
import qualified ScrapBook
1516
import Text.Blaze.Html.Renderer.Text (renderHtml)
1617
import Text.Blaze.Html5
@@ -99,5 +100,4 @@ formatTimeToDate =
99100

100101
-- take 10 == take (length "2018-02-02")
101102
formatTimeFromRFC3339 :: String -> Maybe UTCTime
102-
formatTimeFromRFC3339 =
103-
parseTimeM True defaultTimeLocale (iso8601DateFormat Nothing) . take 10
103+
formatTimeFromRFC3339 = iso8601ParseM . take 10

package.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,5 @@ executables:
3737
- mix-plugin-shell
3838
- scrapbook-core >= 0.5
3939
- shelly
40+
- time
4041
- yaml

stack.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
1-
resolver: lts-17.0
1+
resolver: nightly-2022-05-12
22
packages:
33
- .
44
extra-deps:
5-
- drinkery-0.4
6-
- extensible-0.8.1
7-
- membership-0
5+
# - drinkery-0.4
6+
- github: fumieval/drinkery
7+
commit: 091238b90ca617ff5676cec0ae4a8cb5f79d37e6
8+
# - extensible-0.8.3
9+
- github: fumieval/extensible
10+
commit: 4a1edb50c90d377085fcc3bad4c9f6e9d296b00e
11+
- membership-0.0.1
812
- incremental-0.3.1
913
- github: matsubara0507/scrapbook
10-
commit: 1839569c8ca1bb22c1f415b33dbee733e8f7e27c
14+
commit: 9d39a5a90b0985c1e6ecd51809111116be6f6781
1115
subdirs:
1216
- lib/scrapbook-core
1317
- github: matsubara0507/mix.hs
14-
commit: 75714be080db16f6a4f9d0a22e86947ffcdadc57
18+
commit: 9bcd386526fe10a025a23e951c2de86b05129b17
1519
subdirs:
1620
- mix
1721
- mix-plugin-shell
1822

1923
docker:
20-
repo: matsubara0507/stack-build
24+
repo: ghcr.io/matsubara0507/stack-build:20.04
2125
enable: false

stack.yaml.lock

Lines changed: 40 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,34 @@
55

66
packages:
77
- completed:
8-
hackage: drinkery-0.4@sha256:22eec9a0c918eef0558c58b42b32b0e74fa91b49310e7a7066d9948cd768b16e,1289
8+
size: 9919
9+
url: https://github.com/fumieval/drinkery/archive/091238b90ca617ff5676cec0ae4a8cb5f79d37e6.tar.gz
10+
name: drinkery
11+
version: '0.4'
12+
sha256: ad89e310b36ea86d21923ea705138b85695da8c3d07a237551f5187714317bdb
913
pantry-tree:
10-
size: 737
11-
sha256: 2ecbf162aa0d7416f3d5db140303ac72e4d190753843b909eae6d7f50cce52e7
14+
size: 840
15+
sha256: 4938013876453b7d2d2b06c527cbd3681329580a77f2ae42f24655f972b07f4e
1216
original:
13-
hackage: drinkery-0.4
17+
url: https://github.com/fumieval/drinkery/archive/091238b90ca617ff5676cec0ae4a8cb5f79d37e6.tar.gz
1418
- completed:
15-
hackage: extensible-0.8.1@sha256:280840e31d92510b342d6a8d82d7af39cfd250194f9c26fca1d5cd406ee206f6,2946
19+
size: 374222
20+
url: https://github.com/fumieval/extensible/archive/4a1edb50c90d377085fcc3bad4c9f6e9d296b00e.tar.gz
21+
name: extensible
22+
version: '0.9'
23+
sha256: 8005a29db91b0a67018162b69c913ddf722bdc527f5565caef2644f6ffcd0c95
1624
pantry-tree:
17-
size: 2097
18-
sha256: 49d78392bc6da683fe08b01b7e513b5eb471df1b8157616ca4d9dad0a9a23d3d
25+
size: 2982
26+
sha256: 77c619f82592a969dbb6a7f5e303063678feeb965b085b9c926e6887621521af
1927
original:
20-
hackage: extensible-0.8.1
28+
url: https://github.com/fumieval/extensible/archive/4a1edb50c90d377085fcc3bad4c9f6e9d296b00e.tar.gz
2129
- completed:
22-
hackage: membership-0@sha256:3a11d8fd53cb1a76bb9273e6c929bbf9d649f109714bf487abb3143be04ddc81,995
30+
hackage: membership-0.0.1@sha256:6c4d4ab6e3fb3253c6c670e8a63f74454dc91be50b9f292d0b1355792190aee5,999
2331
pantry-tree:
2432
size: 408
25-
sha256: 3b593e0d14e848e318e745555776ebb25210e5e3dec4fde5d3c08ab51ceddc62
33+
sha256: b918a1a207108313b2bf453b0d9aa65122d9845c4b360c8ade46d3429ff1107a
2634
original:
27-
hackage: membership-0
35+
hackage: membership-0.0.1
2836
- completed:
2937
hackage: incremental-0.3.1@sha256:9c697bae4f7e5ceb144bde13e03ca2f36b4bc2d0c92bbc02e0a604231ee279c2,1153
3038
pantry-tree:
@@ -33,47 +41,47 @@ packages:
3341
original:
3442
hackage: incremental-0.3.1
3543
- completed:
36-
size: 69976
44+
size: 70302
3745
subdir: lib/scrapbook-core
38-
url: https://github.com/matsubara0507/scrapbook/archive/1839569c8ca1bb22c1f415b33dbee733e8f7e27c.tar.gz
46+
url: https://github.com/matsubara0507/scrapbook/archive/9d39a5a90b0985c1e6ecd51809111116be6f6781.tar.gz
3947
name: scrapbook-core
40-
version: 0.5.0
41-
sha256: 6e9e988cfb5c0b3a2eef0e391b65d41fc72bec48ad1b9595801c1a3d748b7247
48+
version: 0.6.0
49+
sha256: 9473f9cc87c2cc80e9133b12423f73458e0961d07bd33d38992cc80d7054adf4
4250
pantry-tree:
4351
size: 1541
44-
sha256: 7763401d03be3f5bc25c2e3b1d3fb7f73924a1fb7715b5574323db764c2752ed
52+
sha256: e2160e8618b5fbbd2170bb8e7bbb0c0c5dd76c92e447792e93c1b086745d260d
4553
original:
4654
subdir: lib/scrapbook-core
47-
url: https://github.com/matsubara0507/scrapbook/archive/1839569c8ca1bb22c1f415b33dbee733e8f7e27c.tar.gz
55+
url: https://github.com/matsubara0507/scrapbook/archive/9d39a5a90b0985c1e6ecd51809111116be6f6781.tar.gz
4856
- completed:
49-
size: 11913
57+
size: 12123
5058
subdir: mix
51-
url: https://github.com/matsubara0507/mix.hs/archive/75714be080db16f6a4f9d0a22e86947ffcdadc57.tar.gz
59+
url: https://github.com/matsubara0507/mix.hs/archive/9bcd386526fe10a025a23e951c2de86b05129b17.tar.gz
5260
name: mix
5361
version: 0.1.1
54-
sha256: c4aa501c544ab35a214e7b07f2f97fb19de644f48874c8d6838809bcf4d8edb9
62+
sha256: e6ddd7f45a74d368fede8656194fbf1dd9928a903852500c3c2cd4985d821649
5563
pantry-tree:
56-
size: 598
57-
sha256: 689bed307dc233a6c50e01f00295a079dc40a4291700646f3ca423d714ba35fc
64+
size: 663
65+
sha256: c1ead54fea3c786e356dadde2301de201599c10e18bc0be32aa8a2e3569930aa
5866
original:
5967
subdir: mix
60-
url: https://github.com/matsubara0507/mix.hs/archive/75714be080db16f6a4f9d0a22e86947ffcdadc57.tar.gz
68+
url: https://github.com/matsubara0507/mix.hs/archive/9bcd386526fe10a025a23e951c2de86b05129b17.tar.gz
6169
- completed:
62-
size: 11913
70+
size: 12123
6371
subdir: mix-plugin-shell
64-
url: https://github.com/matsubara0507/mix.hs/archive/75714be080db16f6a4f9d0a22e86947ffcdadc57.tar.gz
72+
url: https://github.com/matsubara0507/mix.hs/archive/9bcd386526fe10a025a23e951c2de86b05129b17.tar.gz
6573
name: mix-plugin-shell
6674
version: 0.1.0
67-
sha256: c4aa501c544ab35a214e7b07f2f97fb19de644f48874c8d6838809bcf4d8edb9
75+
sha256: e6ddd7f45a74d368fede8656194fbf1dd9928a903852500c3c2cd4985d821649
6876
pantry-tree:
6977
size: 383
70-
sha256: 7bbce9d5ea01f6432cecf3151b7c93751d508c0b28444436365eebda58f599d8
78+
sha256: 2c30acc53ef040b03bdacf6275dc225c07f01a05fa67b5872b0fcf05c8e8b72c
7179
original:
7280
subdir: mix-plugin-shell
73-
url: https://github.com/matsubara0507/mix.hs/archive/75714be080db16f6a4f9d0a22e86947ffcdadc57.tar.gz
81+
url: https://github.com/matsubara0507/mix.hs/archive/9bcd386526fe10a025a23e951c2de86b05129b17.tar.gz
7482
snapshots:
7583
- completed:
76-
size: 563100
77-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/17/0.yaml
78-
sha256: e93a85871577ea3423d5f3454b2b6bd37c2c2123c79faf511dfb64f5b49a9f8b
79-
original: lts-17.0
84+
size: 573008
85+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2022/5/12.yaml
86+
sha256: 2c73222c0a3fc8fa5a9df5de04038e402351652ea28b48604e15c36b693a168d
87+
original: nightly-2022-05-12

0 commit comments

Comments
 (0)