Merge pull request #332090 from ymeister/haskell-updates@patch

haskellPackages.patch: fix build on js backend
This commit is contained in:
maralorn 2024-08-13 23:10:25 +02:00 committed by GitHub
commit 8614bc2618
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,10 @@
with haskellLib;
let
disableParallelBuilding = overrideCabal (drv: { enableParallelBuilding = false; });
in
# cabal2nix doesn't properly add dependencies conditional on arch(javascript)
(self: super: {
@ -24,4 +28,8 @@ with haskellLib;
reflex-dom = super.reflex-dom.override (drv: {
jsaddle-webkit2gtk = null;
});
patch = pkgs.lib.pipe super.patch (with haskellLib; [
disableParallelBuilding # https://gitlab.haskell.org/ghc/ghc/-/issues/25083#note_578275
doJailbreak
]);
})