diff --git a/pkgs/development/haskell-modules/configuration-ghcjs-9.x.nix b/pkgs/development/haskell-modules/configuration-ghcjs-9.x.nix index 1f5a62549b78..5af8de96a4e7 100644 --- a/pkgs/development/haskell-modules/configuration-ghcjs-9.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghcjs-9.x.nix @@ -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 + ]); })