yi: build using GHC 8.10.7

Luckily, all build failures where just related to type checking changes
in GHC 9.0 (and maybe base changes?), so we can just use GHC 8.10.7 with
the Stackage version of packages and keep Yi working. I feel like we
dodged a bullet here, as upstream maintenance doesn't seem to be too
proactive these days.
This commit is contained in:
sternenseemann 2022-03-28 18:31:01 +02:00
parent 6aa03ecb26
commit e14278d33b
2 changed files with 6 additions and 1 deletions

View File

@ -111,6 +111,9 @@ self: super: {
ghc-prim = self.hashable;
};
# Doesn't build with 9.0, see https://github.com/yi-editor/yi/issues/1125
yi-core = doDistribute (markUnbroken super.yi-core);
# Temporarily disabled blaze-textual for GHC >= 9.0 causing hackage2nix ignoring it
# https://github.com/paul-rouse/mysql-simple/blob/872604f87044ff6d1a240d9819a16c2bdf4ed8f5/Database/MySQL/Internal/Blaze.hs#L4-L10
mysql-simple = addBuildDepends [

View File

@ -11579,7 +11579,9 @@ with pkgs;
yggdrasil = callPackage ../tools/networking/yggdrasil { };
# To expose more packages for Yi, override the extraPackages arg.
yi = callPackage ../applications/editors/yi/wrapper.nix { };
yi = callPackage ../applications/editors/yi/wrapper.nix {
haskellPackages = haskell.packages.ghc8107;
};
yj = callPackage ../development/tools/yj { };