From 15ef3bf06d65acd641c83bf0c0f600ed58cad2d0 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 5 Oct 2025 12:13:58 +0200 Subject: [PATCH] pkgsCross.ghcjs.haskellPackages.reflex-dom: re-enable jobs This is possible since the platform configuration is applied after configuration-common.nix (which contains the dontDistributes). --- .../haskell-modules/configuration-ghcjs-9.x.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-ghcjs-9.x.nix b/pkgs/development/haskell-modules/configuration-ghcjs-9.x.nix index 10a399e73063..3d2268de643f 100644 --- a/pkgs/development/haskell-modules/configuration-ghcjs-9.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghcjs-9.x.nix @@ -35,9 +35,16 @@ with haskellLib; patch = haskellLib.disableParallelBuilding super.patch; reflex-dom-core = haskellLib.disableParallelBuilding super.reflex-dom-core; - reflex-dom = super.reflex-dom.override (drv: { - jsaddle-webkit2gtk = null; - }); + # Marked as dontDistribute in -common because of jsaddle-webkit2gtk + # which requires an unmaintained version of libsoup. Since this dep + # is unnecessary for the JS backend, we can re-enable these jobs here. + reflex-dom = doDistribute ( + super.reflex-dom.override (drv: { + jsaddle-webkit2gtk = null; + }) + ); + reflex-localize-dom = doDistribute super.reflex-localize-dom; + trasa-reflex = doDistribute super.trasa-reflex; miso-examples = pkgs.lib.pipe super.miso-examples [ (addBuildDepends (