Skip to content

Commit 587f86c

Browse files
committed
remove-ghc810
1 parent 4ddefc1 commit 587f86c

File tree

5 files changed

+10
-13
lines changed

5 files changed

+10
-13
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Add your description here, if it fixes a particular issue please provide a [link
88
- [ ] Commits have useful messages
99
- [ ] New tests are added if needed and existing tests are updated
1010
- [ ] Any changes are noted in the [changelog](https://github.com/IntersectMBO/cardano-db-sync/blob/master/db-sync/CHANGELOG.md)
11-
- [ ] Code is formatted with [`fourmolu`](https://github.com/fourmolu/fourmolu) on version 0.10.1.0 (which can be run with `scripts/fourmolize.sh`)
11+
- [ ] Code is formatted with [`fourmolu`](https://github.com/fourmolu/fourmolu) on version 0.17.0.0 (which can be run with `scripts/fourmolize.sh`)
1212
- [ ] Self-reviewed the diff
1313

1414
# Migrations

.github/workflows/haskell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
matrix:
2121
os: [ubuntu-latest]
2222
# TODO: Add ghc910 when input-output-hk/devx is fixed
23-
compiler-nix-name: [ghc810, ghc96, ghc98, ghc912]
23+
compiler-nix-name: [ghc96, ghc98, ghc912]
2424
include:
2525
# We want a single job, because macOS runners are scarce.
2626
- os: macos-latest

doc/building-running.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ If building locally, to find `cardano-db-sync` executable location use:
100100

101101
```
102102
find . -name cardano-db-sync -executable -type f
103-
./dist-newstyle/build/x86_64-linux/ghc-8.10.4/cardano-db-sync-12.0.0/build/cardano-db-sync/cardano-db-sync
103+
./dist-newstyle/build/x86_64-linux/ghc-9.6.7/cardano-db-sync-12.0.0/build/cardano-db-sync/cardano-db-sync
104104
```
105105

106106
On macOS `brew install postgresl [email protected]` and extend PKG_CONFIG_PATH with

doc/installing.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ This guide assumes you have the following tools:
1212

1313
In addition, Cardano DB Sync requires the following software (instructions below):
1414

15-
* [GHC](https://www.haskell.org/ghcup/install/) >= 8.10.7
16-
* [Cabal](https://www.haskell.org/ghcup/install/) >= 3.10.1.0
15+
* [GHC](https://www.haskell.org/ghcup/install/) >= 9.6.7
16+
* [Cabal](https://www.haskell.org/ghcup/install/) >= 3.12.1.0
1717
* [libsodium-vrf](https://github.com/IntersectMBO/libsodium)
1818
* [secp256k1](https://github.com/bitcoin-core/secp256k1)
1919
* [blst](https://github.com/supranational/blst)
@@ -42,10 +42,10 @@ dependencies.
4242
Once GHCup is installed, open a new terminal (to get an updated environment) and run:
4343

4444
```bash
45-
ghcup install ghc 8.10.7
46-
ghcup install cabal 3.10.1.0
47-
ghcup set ghc 8.10.7
48-
ghcup set cabal 3.10.1.0
45+
ghcup install ghc 9.6.7
46+
ghcup install cabal 3.12.1.0
47+
ghcup set ghc 9.6.7
48+
ghcup set cabal 3.12.1.0
4949
```
5050

5151
Check that you will use the GHCup tools (and not any other installation on the system):
@@ -236,7 +236,7 @@ Explicitly set the GHC version that we installed earlier. This avoids defaulting
236236
system version of GHC that might be different than the one you have installed.
237237

238238
```bash
239-
echo "with-compiler: ghc-8.10.7" >> cabal.project.local
239+
echo "with-compiler: ghc-9.6.7" >> cabal.project.local
240240
```
241241

242242
macOS installs OpenSSL in a different location than expected by default. If you have

flake.nix

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,6 @@
212212
packages.katip.doExactConfig = true;
213213
# Split data to reduce closure size
214214
packages.ekg.components.library.enableSeparateDataOutput = true;
215-
# Haddock is failing for these two packages (at least with GHC 8.10.7)
216-
packages.ouroboros-network.doHaddock = config.compiler-nix-name != "ghc8107";
217-
packages.cardano-node.doHaddock = config.compiler-nix-name != "ghc8107";
218215
})
219216

220217
({

0 commit comments

Comments
 (0)