Skip to content

Commit 425246d

Browse files
committed
Update stack.yaml for GHC 9.2.5
1 parent 4354413 commit 425246d

File tree

6 files changed

+78
-193
lines changed

6 files changed

+78
-193
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,18 +216,18 @@ or
216216

217217
This script is also run by an automatic workflow.
218218

219-
### New GHC 9.2.3 dev shell
219+
### New GHC 9.2.5 dev shell
220220

221-
In order to make use of the new profiling options in GHC 9.2, we've added a nix dev shell which builds kore with GHC 9.2.3. To open the shell, run
221+
In order to make use of the new profiling options in GHC 9.2, we've added a nix dev shell which builds kore with GHC 9.2.5. To open the shell, run
222222

223223
```
224224
nix develop .#ghc9
225225
```
226226

227-
Then, use stack to build against `stack-nix-ghc9.yaml`:
227+
Then, use stack to build:
228228

229229
```
230-
stack --stack-yaml stack-nix-ghc9.yaml build
230+
stack build
231231
```
232232

233233
If you modified the `kore.cabal` file and want to build with GHC 9, you will have to run

cabal.project

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ packages:
22
kore
33

44
allow-newer:
5+
compact:base,
6+
compact:bytestring,
7+
eventlog2speedscope:hashable,
58
ghc-trace-events:base
69

710
package *
@@ -14,17 +17,17 @@ package kore
1417

1518
source-repository-package
1619
type: git
17-
location: https://github.com/ttuegel/pipes-sqlite-simple.git
18-
tag: a3920f053f92e76f2a7ff7c68e34f9e926817702
20+
location: https://github.com/goodlyrottenapple/pipes-sqlite-simple.git
21+
tag: 89a0c38cc2114eab3c1fb03ef6ec25749edf7a42
1922

2023
source-repository-package
2124
type: git
22-
location: https://github.com/ttuegel/pipes-ghc-events.git
23-
tag: 4ab25e717658fa833aaf5efd76db38ccb1178f96
25+
location: https://github.com/goodlyrottenapple/pipes-ghc-events.git
26+
tag: c227d88b88ca74eb56da36668cab8ba2af7b32ee
2427
subdir: eventlog2speedscope
2528

2629
source-repository-package
2730
type: git
28-
location: https://github.com/ttuegel/pipes-ghc-events.git
29-
tag: 4ab25e717658fa833aaf5efd76db38ccb1178f96
31+
location: https://github.com/goodlyrottenapple/pipes-ghc-events.git
32+
tag: c227d88b88ca74eb56da36668cab8ba2af7b32ee
3033
subdir: pipes-ghc-events

kore/src/Prelude/Kore.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,6 @@ import Data.Tuple
171171
import Data.Typeable (
172172
Typeable,
173173
)
174-
import Data.Witherable (
175-
Filterable (..),
176-
Witherable (..),
177-
)
178174
import Debug.Trace hiding (
179175
traceEvent,
180176
traceEventIO,
@@ -184,6 +180,10 @@ import GHC.Stack (
184180
HasCallStack,
185181
)
186182
import Injection
183+
import Witherable (
184+
Filterable (..),
185+
Witherable (..),
186+
)
187187
import Prelude hiding (
188188
Applicative (..),
189189
Monad (..),

stack-nix-ghc9.yaml

Lines changed: 0 additions & 58 deletions
This file was deleted.

stack.yaml

Lines changed: 11 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# resolver:
1616
# name: custom-snapshot
1717
# location: "./custom-snapshot.yaml"
18-
resolver: lts-18.18
18+
resolver: lts-20.8
1919

2020
nix:
2121
packages:
@@ -47,42 +47,23 @@ packages:
4747
# Dependency packages to be pulled from upstream that are not in the resolver
4848
# (e.g., acme-missiles-0.3)
4949
extra-deps:
50-
- ghc-trace-events-0.1.2.1
51-
52-
- monoidal-containers-0.6.0.1
53-
- newtype-0.2.2.0
54-
55-
- sqlite-simple-0.4.18.0
56-
- direct-sqlite-2.3.26
57-
58-
- witherable-0.3.5
59-
- witherable-class-0
60-
61-
- co-log-0.4.0.1
62-
63-
- tasty-test-reporter-0.1.1.4
64-
- junit-xml-0.1.0.0
65-
50+
- chronos-1.1.5
51+
- co-log-0.5.0.0
6652
- compact-0.2.0.0
67-
6853
- decision-diagrams-0.2.0.0
54+
- typerep-map-0.6.0.0
6955

70-
- git: https://github.com/ttuegel/pipes-ghc-events.git
71-
commit: 4ab25e717658fa833aaf5efd76db38ccb1178f96
56+
- git: https://github.com/goodlyrottenapple/pipes-ghc-events.git
57+
commit: c227d88b88ca74eb56da36668cab8ba2af7b32ee
7258
subdirs:
7359
- eventlog2speedscope
74-
# nix-sha256: 05mpk1r04zsaiwzksbn0yd3s6fyah739rp6s4ir5nbb17b7j59pi
75-
- git: https://github.com/ttuegel/pipes-ghc-events.git
76-
commit: 4ab25e717658fa833aaf5efd76db38ccb1178f96
77-
subdirs:
60+
- pipes-aeson
7861
- pipes-ghc-events
79-
# nix-sha256: 05mpk1r04zsaiwzksbn0yd3s6fyah739rp6s4ir5nbb17b7j59pi
80-
- git: https://github.com/ttuegel/pipes-sqlite-simple.git
81-
commit: a3920f053f92e76f2a7ff7c68e34f9e926817702
82-
# nix-sha256: 13iag206szfmc8ng77j6qjb6r91ysy9qkvijmf9n9dclvmb1g8an
83-
- ghc-events-0.13.0
62+
- pipes-sqlite-simple
63+
# nix-sha256: 1pzmqmp86am8riwlj3ibbx5yk84qs9qjyqfbrf141vwrd3fj64vs
8464

85-
# TODO (thomas.tuegel): Remove this when stylish-haskell is updated upstream.
65+
# TODO (treeowl): Remove this when compact and the pipes-ghc-events suite are
66+
# updated upstream.
8667
allow-newer: true
8768

8869
ghc-options:

stack.yaml.lock

Lines changed: 50 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -5,75 +5,19 @@
55

66
packages:
77
- completed:
8-
hackage: ghc-trace-events-0.1.2.1@sha256:2b7f9be840d748c3d33d0f70120a5d7614ef5862cb854efa272cd0c536319306,3117
8+
hackage: chronos-1.1.5@sha256:116b63db6e79574e7ac50bf12a6303af5dae4048b222c0f78380d24f481abb5a,3696
99
pantry-tree:
10-
size: 710
11-
sha256: 50f58ec1f2033c259402ad00ff42cbb0d002492f960967442b5bdd9a7a75dc0a
10+
size: 581
11+
sha256: 0eb2e0874c845e299c2e174144fd37da1a7957fd0055b2b99b33d23a06c7720e
1212
original:
13-
hackage: ghc-trace-events-0.1.2.1
13+
hackage: chronos-1.1.5
1414
- completed:
15-
hackage: monoidal-containers-0.6.0.1@sha256:7d776942659eb4d70d8b8da5d734396374a6eda8b4622df9e61e26b24e9c8e40,2501
15+
hackage: co-log-0.5.0.0@sha256:a7e84650eaef7eba2d59ee7664309e79317a7ca67011abedf971f0e6bd6475bb,5448
1616
pantry-tree:
17-
size: 569
18-
sha256: c354e916cb3aa9a0728a60f08440dc589a9e6d8275f047dbe9ab73f168247561
17+
size: 1043
18+
sha256: 33b838c07c8b7e70b2e82bddc889bb1e6386d7e12a9d1593c0b4b263b1fcb925
1919
original:
20-
hackage: monoidal-containers-0.6.0.1
21-
- completed:
22-
hackage: newtype-0.2.2.0@sha256:44435da250d96ab3a5a861425739f6af523495d1a3943f783df4b053b8a4c108,1354
23-
pantry-tree:
24-
size: 260
25-
sha256: e53d22dd191bfef5d9b9a05a9cf48e96067c22521937468445c171f3800810b4
26-
original:
27-
hackage: newtype-0.2.2.0
28-
- completed:
29-
hackage: sqlite-simple-0.4.18.0@sha256:3ceea56375c0a3590c814e411a4eb86943f8d31b93b110ca159c90689b6b39e5,3002
30-
pantry-tree:
31-
size: 1930
32-
sha256: e58b9955e483d51ee0966f8ba4384305d871480e2a38b32ee0fcd4573d74cf95
33-
original:
34-
hackage: sqlite-simple-0.4.18.0
35-
- completed:
36-
hackage: direct-sqlite-2.3.26@sha256:04e835402f1508abca383182023e4e2b9b86297b8533afbd4e57d1a5652e0c23,3718
37-
pantry-tree:
38-
size: 770
39-
sha256: 11874ab21e10c5b54cd1e02a037b677dc1e2ee9986f38c599612c56654dc01c3
40-
original:
41-
hackage: direct-sqlite-2.3.26
42-
- completed:
43-
hackage: witherable-0.3.5@sha256:6590a15735b50ac14dcc138d4265ff1585d5f3e9d3047d5ebc5abf4cd5f50084,1476
44-
pantry-tree:
45-
size: 271
46-
sha256: b99f21dbac28da031eb7c787fbffbe5e77e0aee42b64b5dda082470e907d5ab5
47-
original:
48-
hackage: witherable-0.3.5
49-
- completed:
50-
hackage: witherable-class-0@sha256:91f05518f9f4af5b02424f13ee7dcdab5d6618e01346aa2f388a72ff93e2e501,775
51-
pantry-tree:
52-
size: 277
53-
sha256: e99696bf95da593a3892c7b9a28db09ffd139b4b1b313f32cec9d26979aa7ce2
54-
original:
55-
hackage: witherable-class-0
56-
- completed:
57-
hackage: co-log-0.4.0.1@sha256:3d4c17f37693c80d1aa2c41669bc3438fac3e89dc5f479e57d79bc3ddc4dfcc5,5087
58-
pantry-tree:
59-
size: 1126
60-
sha256: e73165ff8f744709428e2e87984c9d60ca1cec43d8455c413181c7c466e7497c
61-
original:
62-
hackage: co-log-0.4.0.1
63-
- completed:
64-
hackage: tasty-test-reporter-0.1.1.4@sha256:22acd61058a9aa6fafeb742051347f22f1bac8658ad285bc2eb65b86173a1bc2,1765
65-
pantry-tree:
66-
size: 411
67-
sha256: 7d309686e6b362e904a2b49b7513307be54381690ca7472e926f73fd08a8353b
68-
original:
69-
hackage: tasty-test-reporter-0.1.1.4
70-
- completed:
71-
hackage: junit-xml-0.1.0.0@sha256:5da18fe01fdb2e32904499ad67f32229a1df4bd4422483dd4a26090aeaf5de0d,1417
72-
pantry-tree:
73-
size: 384
74-
sha256: c21b8b22bbbebb15a8d6babb7efbf3d31045ca2f1763d7fc2c44e99d180a1a59
75-
original:
76-
hackage: junit-xml-0.1.0.0
20+
hackage: co-log-0.5.0.0
7721
- completed:
7822
hackage: compact-0.2.0.0@sha256:75ef98cb51201b4a0d6de95cbbb62be6237c092a3d594737346c70c5d56c2380,2413
7923
pantry-tree:
@@ -88,53 +32,68 @@ packages:
8832
sha256: 340509eeb518acd55bb125d8eeb29aa5247b9600096472db134c739b1924b828
8933
original:
9034
hackage: decision-diagrams-0.2.0.0
35+
- completed:
36+
hackage: typerep-map-0.6.0.0@sha256:e54a4e99614ad890a10200da687efa189860c13207a97063db1b6881032ebecc,4890
37+
pantry-tree:
38+
size: 1487
39+
sha256: f970c9dc26194bf708a5c18cf4daac5a1518afa1d8b92e8f1c170959587ee7a6
40+
original:
41+
hackage: typerep-map-0.6.0.0
9142
- completed:
9243
subdir: eventlog2speedscope
9344
name: eventlog2speedscope
94-
version: 0.1.0
95-
git: https://github.com/ttuegel/pipes-ghc-events.git
45+
version: 0.1.1
46+
git: https://github.com/goodlyrottenapple/pipes-ghc-events.git
9647
pantry-tree:
9748
size: 363
98-
sha256: db17d33a7672b8e31f5fe9a1808331ab6ec0882ac8c15c51ba25d96bcd8f5042
99-
commit: 4ab25e717658fa833aaf5efd76db38ccb1178f96
49+
sha256: 5c8e4a1e411927009f73f439bc81a4c4cdd31db5a600f82f5304228d0008afe0
50+
commit: c227d88b88ca74eb56da36668cab8ba2af7b32ee
10051
original:
10152
subdir: eventlog2speedscope
102-
git: https://github.com/ttuegel/pipes-ghc-events.git
103-
commit: 4ab25e717658fa833aaf5efd76db38ccb1178f96
53+
git: https://github.com/goodlyrottenapple/pipes-ghc-events.git
54+
commit: c227d88b88ca74eb56da36668cab8ba2af7b32ee
55+
- completed:
56+
subdir: pipes-aeson
57+
name: pipes-aeson
58+
version: 0.4.2
59+
git: https://github.com/goodlyrottenapple/pipes-ghc-events.git
60+
pantry-tree:
61+
size: 841
62+
sha256: ca2885de6e0e32293ff25b2e4ef2ed38b46df3308be004b88c73e7f8b4ed92ff
63+
commit: c227d88b88ca74eb56da36668cab8ba2af7b32ee
64+
original:
65+
subdir: pipes-aeson
66+
git: https://github.com/goodlyrottenapple/pipes-ghc-events.git
67+
commit: c227d88b88ca74eb56da36668cab8ba2af7b32ee
10468
- completed:
10569
subdir: pipes-ghc-events
10670
name: pipes-ghc-events
10771
version: 0.1.0.0
108-
git: https://github.com/ttuegel/pipes-ghc-events.git
72+
git: https://github.com/goodlyrottenapple/pipes-ghc-events.git
10973
pantry-tree:
11074
size: 234
11175
sha256: 442cb60eae9a3f52d872d5fbae872a5b2bf8fe144940cb2b10f75f6a0caf3182
112-
commit: 4ab25e717658fa833aaf5efd76db38ccb1178f96
76+
commit: c227d88b88ca74eb56da36668cab8ba2af7b32ee
11377
original:
11478
subdir: pipes-ghc-events
115-
git: https://github.com/ttuegel/pipes-ghc-events.git
116-
commit: 4ab25e717658fa833aaf5efd76db38ccb1178f96
79+
git: https://github.com/goodlyrottenapple/pipes-ghc-events.git
80+
commit: c227d88b88ca74eb56da36668cab8ba2af7b32ee
11781
- completed:
82+
subdir: pipes-sqlite-simple
11883
name: pipes-sqlite-simple
11984
version: '0.2'
120-
git: https://github.com/ttuegel/pipes-sqlite-simple.git
121-
pantry-tree:
122-
size: 416
123-
sha256: 94a6840d3b1dd1ca7165f9502778637f26cd93d313c8876262fcd5a6f4e497a8
124-
commit: a3920f053f92e76f2a7ff7c68e34f9e926817702
125-
original:
126-
git: https://github.com/ttuegel/pipes-sqlite-simple.git
127-
commit: a3920f053f92e76f2a7ff7c68e34f9e926817702
128-
- completed:
129-
hackage: ghc-events-0.13.0@sha256:27f7ed54b6e27ba6142f8e7c2a1dd39cf099d4471eff570327a4e5058995fb3c,5431
85+
git: https://github.com/goodlyrottenapple/pipes-ghc-events.git
13086
pantry-tree:
131-
size: 4089
132-
sha256: 462ec4fb4f1348f5365c93a83b4475d12a5db9997c838761989b587bcaef1ad2
87+
size: 631
88+
sha256: 7e6a1c449ab2b3bb7b987f4819578b82ce905e7cc877ea10c5ed740c21b29e41
89+
commit: c227d88b88ca74eb56da36668cab8ba2af7b32ee
13390
original:
134-
hackage: ghc-events-0.13.0
91+
subdir: pipes-sqlite-simple
92+
git: https://github.com/goodlyrottenapple/pipes-ghc-events.git
93+
commit: c227d88b88ca74eb56da36668cab8ba2af7b32ee
13594
snapshots:
13695
- completed:
137-
size: 586296
138-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/18.yaml
139-
sha256: 63539429076b7ebbab6daa7656cfb079393bf644971156dc349d7c0453694ac2
140-
original: lts-18.18
96+
size: 649327
97+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/8.yaml
98+
sha256: bfafe5735ccb74527d754b1f9999ded72d7c3a6c3a88529449661431ccfbd6cc
99+
original: lts-20.8

0 commit comments

Comments
 (0)