mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #332090 from ymeister/haskell-updates@patch
haskellPackages.patch: fix build on js backend
This commit is contained in:
commit
8614bc2618
@ -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
|
||||
]);
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user