IntersectMBO / cardano-node-emulator

Apache License 2.0
3 stars 4 forks source link

Update GHC to 9.6.4 #25

Closed smelc closed 2 months ago

smelc commented 2 months ago

Context

Update the default GHC version to 9.6.4.

Should be merged after https://github.com/IntersectMBO/cardano-node-emulator/pull/24, so that we have CI checks to catch mistakes.

smelc commented 2 months ago

Sadly we cannot update to 9.6.5 as easily, in this case entering the flake fails as follows:

       … while calling the 'head' builtin
         at /nix/store/apn339kmg5xllk224ghr7cw6468pgkc7-source/lib/attrsets.nix:820:11:
          819|         || pred here (elemAt values 1) (head values) then
          820|           head values
             |           ^
          821|         else

       … in the left operand of the update (//) operator
         at /nix/store/yjgdr47dy0808jkbm7xpppwhyfk8nbxs-source/src/core/mkHaskellProject.nix:175:35:
          174|
          175|       packages = project.packages // extra-packages;
             |                                   ^
          176|

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: attribute '"3.10.3.0"' missing
       at /nix/store/4kicsdnikxsml84q56y3z2bqcwq988fm-cardano-node-emulator-plan-to-nix-pkgs/default.nix:492:26:
          491|         assoc.flags.tagged = true;
          492|         Cabal.revision = hackage.Cabal."3.10.3.0".revisions.default;
             |                          ^
          493|         validity.revision = import ./cabal-files/validity.nix;
       Did you mean one of 3.10.1.0, 3.10.2.0, 1.10.0.0, 1.10.1.0 or 1.10.2.0?
smelc commented 2 months ago

This is above my Nix-level.