haskellPackages.gi-gtk: fix build on ghc > 9.6

This commit is contained in:
ymeister 2024-08-04 01:47:17 +04:00
parent d254cf180c
commit f2f3deae5e
3 changed files with 15 additions and 0 deletions

View File

@ -2,6 +2,8 @@
let
inherit (pkgs) lib;
disableParallelBuilding = haskellLib.overrideCabal (drv: { enableParallelBuilding = false; });
in
self: super: {
@ -49,4 +51,7 @@ self: super: {
transformers = null;
unix = null;
xhtml = null;
# https://gitlab.haskell.org/ghc/ghc/-/issues/23392
gi-gtk = disableParallelBuilding super.gi-gtk;
}

View File

@ -2,6 +2,8 @@
let
inherit (pkgs) lib;
disableParallelBuilding = haskellLib.overrideCabal (drv: { enableParallelBuilding = false; });
in
self: super: {
@ -50,4 +52,7 @@ self: super: {
transformers = null;
unix = null;
xhtml = null;
# https://gitlab.haskell.org/ghc/ghc/-/issues/23392
gi-gtk = disableParallelBuilding super.gi-gtk;
}

View File

@ -4,6 +4,8 @@ with haskellLib;
let
inherit (pkgs.stdenv.hostPlatform) isDarwin;
disableParallelBuilding = haskellLib.overrideCabal (drv: { enableParallelBuilding = false; });
in
self: super: {
@ -144,4 +146,7 @@ self: super: {
sha256 = "sha256-umjwgdSKebJdRrXjwHhsi8HBqotx1vFibY9ttLkyT/0=";
}) super.reflex;
# https://gitlab.haskell.org/ghc/ghc/-/issues/23392
gi-gtk = disableParallelBuilding super.gi-gtk;
}