haskellPackages.kqueue: apply patch for GHC 9.6 core libs

This commit is contained in:
sternenseemann 2024-09-01 16:20:37 +02:00
parent 0c924ab22a
commit 29c84f4a19

View File

@ -156,6 +156,17 @@ self: super: {
})];
}) super.ConfigFile;
# Compatibility with core libs of GHC 9.6
# Jailbreak to lift bound on time
kqueue = doJailbreak (appendPatches [
(pkgs.fetchpatch {
name = "kqueue-ghc-9.6.patch";
url = "https://github.com/hesselink/kqueue/pull/10/commits/a2735e807d761410e776482ec04515d9cf76a7f5.patch";
sha256 = "18rilz4nrwcmlvll3acjx2lp7s129pviggb8fy3hdb0z34ls5j84";
excludes = [ ".gitignore" ];
})
] super.kqueue);
# This runs into the following GHC bug currently affecting 9.6.* and 9.8.* as
# well as 9.10.1: https://gitlab.haskell.org/ghc/ghc/-/issues/24432
inherit (lib.mapAttrs (_: overrideCabal (drv: {